Jump to content

Numerical Analysis/Exercises

From Wikiversity

1)Solve differential equation y' = 2ty in [0,1] using Euler's method with n=10,y(0)=1.

2)Solve differential equation y' = 2ty in [0,1] using RK2 method yn+1=yn+h/4(k1+3K2) where k1=f(tn,yn),k2=f(tn+2/3h,yn+2/3hk1)with n=5,y(0)=1.

3)Solve differential equation y' = 2ty in [0,1] using Two step Adams Bashforth method with n=5,y(0)=1.