WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Euler's Method for the Exponential Function

x
1.
approximation step
3
For each value of
x
, the sequence
e
n
(x)=
n
1+
x
n
converges to
x
e
. Also, if
E
n
(t)
is the Euler method approximation to the solution of the differential equation
y'=y
,
y(0)=1
on the interval
[0,x]
with
h=x/n
, then
E
n
(t)
(the red curve) converges to
t
e
for each
t
in the interval. The points generated by Euler's method are marked in green. Observe that for any
n
, the error between the approximation and the real value increases with the value of
x
.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.