Euler method: Difference between revisions

Content added Content deleted
m (→‎version 2: used a template for the output section.)
Line 2,645: Line 2,645:
_=1; w=1; do j=1; _=_*x/j; z=(z+_)/1; if z==w then leave; w=z; end /*j*/
_=1; w=1; do j=1; _=_*x/j; z=(z+_)/1; if z==w then leave; w=z; end /*j*/
if z\==0 then z=e()**ix * z; return z</lang>
if z\==0 then z=e()**ix * z; return z</lang>
'''out put''' &nbsp; when using the default inputs:
{{out|output|text=&nbsp; when using the default inputs:}}
<pre>
<pre>
time in
time in