Professional Documents
Culture Documents
Numerical Solution of Ordinary Differential Equation
Numerical Solution of Ordinary Differential Equation
𝑑𝑦
= 4𝑦 − 1 , y(0) = 1 with step size (h = 0.1) , give results up to y(0.4)
𝑑𝑥
𝑑𝑦
= 𝑦2 + 1 , y(0) = 0 with step size (h = 0.1) , give results up to y(0.4)
𝑑𝑥
Q3)
Consider the ODE:
𝑑𝑦 𝑦
= 𝑥+1 , y(0) = 2
𝑑𝑥
Q4) Given the following ODE, find the value y(0.5) using fourth order Runge-Kutta method
(RK4)
(use a step size, h = 0.5)
𝑑𝑦
= (𝑥 + 𝑦)sin(𝑥𝑦) , y(0) = 5
𝑑𝑥
Q5) Consider the differential equation:
𝑑𝑦
= sin(𝑦) , y(0) = 1
𝑑𝑥
Q6) Given the following ODE, find the value y(1.5) using fourth order Runge-Kutta method
(RK4)
(use a step size, h = 1.5)
𝑑𝑦
= 𝑦2 − 𝑥2 , y(0) = -1
𝑑𝑥
𝑑𝑦 𝑦−𝑥
= 𝑦+𝑥 , y(0) = 1
𝑑𝑥
Q8)
Consider the ODE:
𝑑𝑦 𝑦
= 6 − 2 𝑥 , y(3) = 1
𝑑𝑥
Q9) Given:
𝑑𝑦
= (𝑥 + 𝑦)sin(𝑥𝑦) , y(0) = 5
𝑑𝑥
find the approximate value of y when x = 0.2 using Runge-Kutta fourth order method
(RK4)
(put h = 0.2)
Q10) Use Runge-Kutta fourth order to find the value of y when x = 0.6 given that h = 0.6 and:
𝑑𝑦
= 𝑥 + 2𝑦 , y(0) = 0
𝑑𝑥
Q11)
Consider the ODE:
𝑑𝑦
(1 + 𝑦) 𝑑𝑥 = 𝑥 , y(0) = 0
a) Euler's Method
b) Heun's Method
Q12) Use Runge-Kutta fourth order to find the value of y when x = 0.6 given that h = 0.6 and:
𝑑𝑦
= 𝑦 − 𝑥 , y(0) = 2
𝑑𝑥
Q13)
Consider the ODE:
𝑑𝑦
= 2𝑦 − 𝑦 2 , y(0) = 1
𝑑𝑥
a) Euler's Method
b) Heun's Method