at (0.1 , 1 )
slope = dy/dx = (0.1)^4 /1 = (10^-1)^4 = 10^-4
at x = x + h = 0.1 + 0.2 = 0.3
Using Euler
our guess at y = 1 + h (dy/dx) = 1 + 0.2 * 10^-4 = 1 +0.00002 = 1.00002
Suppose that we use Euler's method to approximate the solution to the differential equation
đđŚ/đđĽ=đĽ^4/đŚ đŚ(0.1)=1
Let đ(đĽ,đŚ)=đĽ^4/đŚ.
We let đĽ0=0.1 and đŚ0=1 and pick a step size â=0.2. Euler's method is the the following algorithm. From đĽđ and đŚđ, our approximations to the solution of the differential equation at the nth stage, we find the next stage by computing
1 answer