Given y 2xy y1 1 Find y12 using the Improved Euler method

Given: y\' = 2xy,     y(1) = 1

Find y(1.2) using the Improved Euler method with a step size of h=0.1. Round the answer to four decimal place.

Differential Equations Problem, please show work so it is easy to follow. Will rate, thanks!


Solution

The derivative term in the first order ivp

y\' = f(x, y) , y(x0) = y0

is approximated by making use of Taylor series approximation of the dependent variabley(x) at the point xi+1. That is

y(xi+1) = y(xi+ Dx) = y(xi) + Dxy\'(xi) + (Dx2 / 2)y\'\'(xi) + . . .
            = y(xi) + Dxf(xi, yi) + (Dx2 / 2)y\'\'(xi) + . . .

(... y\'(xi) = f(xi, yi))

if the infinite series is truncated from the term Dx2 onwards, then

y(xi+1) = y(xi) + Dx y\'(xi) (or)
yi+1 = yi + Dx fi    for all i

That is,
for i = 0,      y1 = y0 + Dx f0
     i = 1,      y2 = y1 + Dx f1
     !
     i = n-1,   yn = yn-1 + Dx fn-1

Since y0 and hence f0 are known (from initial condition) in the equation corresponding to i = 0, all the terms on the r.h.s are known. So y1 that is, y at x1 is calculated easily from this equation. Similarly once y1 is known, r.h.s of the equation corresponding to  i = 1 is also known so y2 can be computed. As we proceed in the same way until i = n-1, yn can be obtained. This is an explicit method because in any equation there is only one unknown which can be separated to the left side of the equation.

Given: y\' = 2xy, y(1) = 1 Find y(1.2) using the Improved Euler method with a step size of h=0.1. Round the answer to four decimal place. Differential Equations

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site