Numerical Analysis/ODE Exercises

< Numerical Analysis

Solve the following differential equations using the given method

Euler's Method

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


Runge-Kutta Second Order Method (RK2)

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.


Adams-Bashforth Two Step

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


Runge-Kutta Fourth Order (RK4)

4) Solve the ODE y'=2ty on the interval [0,1], using three steps of the Runge-Kutta 4 method with n=2 and y(0)=1.

This article is issued from Wikiversity - version of the Saturday, April 02, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.