Question: Solve $\frac{dy}{dx} = xy$ with the help of Eulers method, given that y(0) = 1 and find y when x = 0.3 (h = 0.1)
0

Subject : Applied Mathematics 2

Topic : Numerical solution of ordinary differential equations of first order and first degree, Beta and Gamma Function

Difficulty: High

mumbai university • 52 views
ADD COMMENTlink
modified 9 weeks ago  • written 9 weeks ago by gravatar for Ankit Pandey Ankit Pandey60
0

Solution:

$\begin{aligned} \frac{d y}{d x}=x . y=f(x, y) & x_{0}=0, y_{0}=1 \\ y_{n}=y_{n-1}+h . f\left(x_{n-1}, y_{n-1}\right) \end{aligned}$

$\begin{array}{|c|c|c|c|c|}\hline \text { Iteration (n) } & {x_{n}} & {y_{n}} & {f\left(x_{n}, y_{n}\right)} & {y_{n+1}=y_{n}+h.f(x_{n},y_{n})} \\ \hline 0 & {0} & {1} & {0} & {1} \\ \hline 1 & {0} & {1} & {0} & {1,01} \\ \hline 2 & {0.2} & {1.01} & {0.202} & {1.0302} \\ \hline\end{array}$

$\therefore y(0.3)=1.0302$

ADD COMMENTlink
modified 9 weeks ago  • written 9 weeks ago by gravatar for Ankit Pandey Ankit Pandey60
Please log in to add an answer.