Post Reply 
e-Day
07-03-2018, 09:37 PM
Post: #5
RE: e-Day
(07-03-2018 11:53 AM)Pjwum Wrote:  Regarding my little program to find n for 2.718 there are interesting forensic effects. In fact, the numerical solver delivers another n. Graphing (1+1/n)^n and zooming around 4822.55 a pronounced sawtooth alternates above and below eday.

Of course the is no such sawtooth, mathematically. What you see is the result of roundoff errors, especially when calculating 1+1/n. After the addition of 1 only 8 out of 12 digits of the original 1/n value are left. Maybe you can try rewriting the equation as exp[n · ln1+x(1/n)].

BTW the exact result is  n = 4821,66555538...

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
e-Day - Pjwum - 07-02-2018, 12:41 PM
RE: e-Day - Thomas Klemm - 07-02-2018, 01:57 PM
RE: e-Day - Valentin Albillo - 07-02-2018, 06:24 PM
RE: e-Day - Pjwum - 07-03-2018, 11:53 AM
RE: e-Day - Dieter - 07-03-2018 09:37 PM
RE: e-Day - Valentin Albillo - 07-03-2018, 11:25 PM
RE: e-Day - Pjwum - 07-04-2018, 06:46 PM
RE: e-Day - Thomas Klemm - 07-04-2018, 07:06 PM
RE: e-Day - Thomas Klemm - 07-06-2018, 09:27 PM



User(s) browsing this thread: 1 Guest(s)