Difference between revisions of "Talk:E"

From Organic Design wiki
m
m
Line 6: Line 6:
 
Is the relationship (7/5) * (pi/e) exact, or is it an approximation? --[[User:Sven|Sven]] 10:19, 22 Aug 2006 (NZST)
 
Is the relationship (7/5) * (pi/e) exact, or is it an approximation? --[[User:Sven|Sven]] 10:19, 22 Aug 2006 (NZST)
 
: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>
use Math::Trig;
+
[[+sandbox.pl]]
print 7*pi/5/exp(1);
+
</table>
print "\n";
 
print ((1+sqrt(5))/2);
 
print "\n";
 
</pre></table>
 
 
::gives...
 
::gives...
 
<table class=document-code><tr><td><pre>
 
<table class=document-code><tr><td><pre>
1.61801828970729
+
[[*sandbox.pl|perl.php]]
1.61803398874989
 
 
</pre></table>
 
</pre></table>
  
 
----
 
----

Revision as of 21:42, 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....

+sandbox.pl

gives...
[[*sandbox.pl|perl.php]]