flat assembler
Message board for the users of flat assembler.

 Index > Heap > Numerical oddities Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 24, 25, 26  Next
Author
MHajduk

Joined: 30 Mar 2006
Posts: 6038
Location: Poland
MHajduk
dosin wrote:

2+4+6+8+10..... 100..
We have 2 + 4 + 6 + ... + 100 = 2*(1 + 2 + 3 + ... + 50) = 2*[50/2*(50+1)] = 50 * 51 = 2550
22 Jan 2011, 20:40
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
all you guys, you are all, pretty crazy
22 Jan 2011, 21:28
edfed

Joined: 20 Feb 2006
Posts: 4240
Location: 2018
edfed
gauss found it at elementary school, when the teacher gave the childs a problem (add 1 to 100) assuming it would take them a lot of time to solve, gauss (8 year old) arrived with a solution in a couple of minutes:

total = N/2*(N+1)
23 Jan 2011, 01:11
revolution
When all else fails, read the source

Joined: 24 Aug 2004
Posts: 17474
revolution
Google search calculator gives the value for i^-i as 4.81047738. This result is inaccurate, it is only an approximation.
1. give a more accurate value to at least 30 decimal places, and
2. show the exact value
Bonus points for showing your full working.
29 Apr 2011, 16:54
Xorpd!

Joined: 21 Dec 2006
Posts: 161
Xorpd!
i**(-i) = exp(i*pi/2)**(-i) = exp(-i*i*pi/2) = exp(pi/2) = 4.8104773809653516554730356667038
30 Apr 2011, 01:25
bitRAKE

Joined: 21 Jul 2003
Posts: 2940
Location: vpcmipstrm
bitRAKE
30 Apr 2011, 01:35
revolution
When all else fails, read the source

Joined: 24 Aug 2004
Posts: 17474
revolution
bitRAKE wrote:
lazy
I'm beginning to hate this newfangled Internet thing. It makes stuff too easy.
30 Apr 2011, 02:53
revolution
When all else fails, read the source

Joined: 24 Aug 2004
Posts: 17474
revolution
Xorpd! wrote:
i**(-i) = exp(i*pi/2)**(-i) = exp(-i*i*pi/2) = exp(pi/2) = 4.8104773809653516554730356667038
Correct.

It is interesting to see the derivation of how e gets involved. If anyone hasn't yet seen it yet, you might be surprised.
30 Apr 2011, 02:56
ass0

Joined: 31 Dec 2008
Posts: 521
Location: ( . Y . )
ass0
I just came with this mind blowing... conjeture?

6-6 = 9-9
6(1-1) = 9(1-1)
6 = 9

WTF

_________________

Nombre: Aquiles Castro.
30 Apr 2011, 17:53
JohnFound

Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
ass0, you can't cancel (1-1) because you need to divide by (1-1) = 0.
Every CPU will generate exception on this.
30 Apr 2011, 17:58
ass0

Joined: 31 Dec 2008
Posts: 521
Location: ( . Y . )
ass0
xD

_________________

Nombre: Aquiles Castro.
30 Apr 2011, 18:18
edfed

Joined: 20 Feb 2006
Posts: 4240
Location: 2018
edfed
6+6=9+9 ;hem hem...
6(1+1)=9(1+1)
6=9

yeahhhh!
30 Apr 2011, 19:33
Enko

Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
6+6 != 9+9
12 != 18 ehem, you should be very ashamed of yourself

30 Apr 2011, 20:00
Enko

Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
revolution wrote:
bitRAKE wrote:
lazy
I'm beginning to hate this newfangled Internet thing. It makes stuff too easy.

you can add more digits there to get this:
http://www3.wolframalpha.com/Calculate/MSP/MSP447219f980f39612hg1a00000f61961238g393a5?MSPStoreType=image/gif&s=29&w=496&h=1282
30 Apr 2011, 20:04
ass0

Joined: 31 Dec 2008
Posts: 521
Location: ( . Y . )
ass0

_________________

Nombre: Aquiles Castro.
01 May 2011, 06:05
ass0

Joined: 31 Dec 2008
Posts: 521
Location: ( . Y . )
ass0
i must admit i did that (and worse things) in my first days in high school. xD

_________________

Nombre: Aquiles Castro.
01 May 2011, 06:11
Enko

Joined: 03 Apr 2007
Posts: 678
Location: Mar del Plata
Enko
ass0 wrote:
i must admit i did that (and worse things) in my first days in high school. xD

You meen smoking weed in the bathroom of the schoole? or some experiment with mashrooms in the chemestry class?

Last edited by Enko on 01 May 2011, 14:04; edited 1 time in total
01 May 2011, 13:25
ass0

Joined: 31 Dec 2008
Posts: 521
Location: ( . Y . )
ass0
I just hated math at that time for some familiar issues. =D

_________________

Nombre: Aquiles Castro.
01 May 2011, 14:01
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
(1+.a)*(1+.b)
can we chop 1+ ?
20 Jun 2011, 16:57
idle

Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
123456789 * 8 + 9 = 987654321
20 Jun 2011, 17:16
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

 Jump to: Select a forum Official----------------AssemblyPeripheria General----------------MainDOSWindowsLinuxUnixMenuetOS Specific----------------MacroinstructionsCompiler InternalsIDE DevelopmentOS ConstructionNon-x86 architecturesHigh Level LanguagesProgramming Language DesignProjects and IdeasExamples and Tutorials Other----------------FeedbackHeapTest Area
Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 24, 25, 26  Next

Forum Rules:
 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou can attach files in this forumYou can download files in this forum