0
6.7kviews
Compute $y$ at $x=0.25$ by modified Euler's method , given $y'=2xy , y(0)=1$ .'
1 Answer
0
1.2kviews

$ f(x,y) = 2xy, \thinspace x_0 =1, y_0 = 1 , h = 0.25 \\ $

$ At \thinspace x_1 = x_0 + h = 0 + 0.25 = 0.25 \\ $

$ At \thinspace y_1 = y_0 + hf(x_0,y_0) = 1 + (0.25) . 2(0) = 1 \\ $

$ y_1 ^{(1)} = y_0 + \frac{h}{2} [ f(x_0,y_0) + f(x_1,y_1) ] \\ $

$ = y_0 + \frac{h}{2} [ 2 x_0 y_0 + 2x_1y_1 ] = 1.025 \\ $

$ y_1 ^{(2)} = y_0 + \frac{h}{2} [ f(x_0,y_0) + f(x_1,y_1) ^{(1)} ] \\ $

$ = y_0 + \frac{h}{2} [ 2 x_0 y_0 + 2x_1y_1 ] = 1.025 \\ $

$ x = 0.25, \thinspace y = 1.025 \\ $

Please log in to add an answer.