0
6.2kviews
Using Euler's method find the approximate value of y where when x=1.5 in five steps taking h=0.1 given $\frac{dy}{dx}=\frac{y-x}{\sqrt{xy}}$ and y(1)=2
1 Answer
0
340views

$ f(x,y) = \frac{y-x}{\sqrt{xy}}, x_0 =1, y_0 = 2 , h = 0.1 \\ $

$ At \thinspace x_1 = x_0 + h = 1 + 0.1 = 1.1 \\ $

$ At \thinspace y_1 = y_0 + hf(x_0,y_0) = 2 + (0.1)(0.7071) = 2.0707 \\ $

$ At \thinspace x_2 = x_1 + h = 1.1 + 0.1 = 1.1 \\ $

$ At \thinspace y_2 = y_1 + hf(x_1,y_1) = 2.07071 + (0.1)(0.6432) = 2.13503 \\ $

$ At \thinspace x_3 = x_2 + h = 1.2 + 0.1 = 1.3 \\ $

$ At \thinspace y_3 = y_2 + hf(x_2,y_2) = 2.13503 + (0.1)(0.5842) = 2.19345 \\ $

$ At \thinspace x_4 = x_3 + h = 1.3 + 0.1 = 1.4 \\ $

$ At \thinspace y_4 = y_3 + hf(x_3,y_3) = 2.19345 + 0.1(0.5291) = 2.24636\\ $

$ At \thinspace x_5 = x_4 + h = 1.4 + 0.1 = 1.5 \\ $

$ At \thinspace y_5 = y_4 + hf(x_4,y_4) = 2.24636 + 0.1(0.4773) = 2.29409 \\ $

Please log in to add an answer.