Difference between revisions of "Talk:E"

From Organic Design wiki
(damn - maybe just an approx. :-()
m
Line 7: Line 7:
 
:I had always thought it was exact, but....
 
:I had always thought it was exact, but....
 
<table class=document-code><tr><td><pre>
 
<table class=document-code><tr><td><pre>
#!/usr/bin/perl
 
 
use Math::Trig;
 
use Math::Trig;
 
print 7*pi/5/exp(1);
 
print 7*pi/5/exp(1);

Revision as of 21:37, 21 August 2006

Interesting, the closure of the math tag is missing the / in the docie e^x = \sum_{n = 0}^{\infty} {x^n \over n!} = 1 + x + {x^2 \over 2!} + {x^3 \over 3!} + {x^4 \over 4!} + \cdots

Sven 09:48, 16 Nov 2005 (NZDT)

Is the relationship (7/5) * (pi/e) exact, or is it an approximation? --Sven 10:19, 22 Aug 2006 (NZST)

I had always thought it was exact, but....
use Math::Trig;
print 7*pi/5/exp(1);
print "\n";
print ((1+sqrt(5))/2);
print "\n";
gives...
1.61801828970729
1.61803398874989