Calculating the value of e: Difference between revisions

Content added Content deleted
imported>Lacika7
mNo edit summary
imported>Maxima enthusiast
No edit summary
Line 2,810: Line 2,810:
{{output}}
{{output}}
<pre>𝕖</pre>
<pre>𝕖</pre>

=={{header|Maxima}}==
Using the expansion of an associated continued fraction
<syntaxhighlight lang="maxima">
block(cfexpand([2,1,2,1,1,4,1,1,6,1,1,8,1,1,10,1,1,12,1,1,14]),float(%%[1,1]/%%[2,1]));

/* Comparing with built-in constant */
%e,numer;
</syntaxhighlight>
{{out}}
<pre>
2.718281828459045

2.718281828459045
</pre>


=={{header|min}}==
=={{header|min}}==