Module 5 Tutorial, MA203
Module 5 Tutorial, MA203
𝑑𝑦
1. Using modified Euler’s method, find the value of y(0.1) for 𝑑𝑥 = 𝑥 − 𝑦, y(0)=1 with h=0.1
−𝑦
3. Find the solution of the initial value problem 𝑦 / = 1+𝑥 , with y (0) = 2 for x=1 by Euler’s
method.
𝑑𝑦 𝑦−𝑥
4. Consider the initial value problem (IVP) = 𝑦+𝑥 , 𝑦(0) = 1. Taking step size ℎ = 0.02, find
𝑑𝑥
the value of 𝑦(0.1) using Runge-Kutta fourth order method correct to 4 decimal place equals
𝑑𝑦
5. For the Initial Value Problem = 𝑦, 𝑦(0) = 𝛼 . If 𝑦(1) = 1 find the value of 𝑘4 obtained
𝑑𝑥
by the Runge-Kutta Method of order 4 by taking step size ℎ = 1.
𝑑𝑦
6. The initial value problem = 𝑓(𝑡, 𝑦), 𝑡 > 0, 𝑦(0) = 1, where 𝑓(𝑡, 𝑦) = −10𝑦, is solved
𝑑𝑡
using Euler’s method with step size ℎ. Then 𝑙𝑖𝑚𝑛→∞ 𝑦𝑛 = 0 provided
A) 0 < ℎ < 0.2 B) 0.3 < ℎ < 0.4 C) 0.4 < ℎ < 0.5 D) 0.5 < ℎ < 0.55
9. Determine the value of y correct to 4 decimal places using Euler’s method and modified Euler’s
method when x=0.04 given that 𝑦 / = 𝑥 2 + 𝑦, 𝑦(0) = 1 when h=0.2 and compare with the
exact answer.
𝑑𝑦 𝑦
10. Use the RK-method of order 4 to approximate 𝑦(3) with h=0.4 for 𝑑𝑥 + 𝑥 = 𝑥 3 𝑦 3 , 𝑦(1) =
1. Compare your answer with the exact answer and explain why the numerical technique fails.
𝑑𝑦
11. Apply Runge’s formula of order 2 to approximate value of y when x = 1.1 given = 3𝑥 +
𝑑𝑥
𝑦 2 , 𝑎𝑛𝑑 𝑦 = 1.2 when 𝑥 = 1.
𝑑𝑦
12. The ordinary differential equation 𝑑𝑡 = −3𝑥 + 2, 𝑤𝑖𝑡ℎ 𝑥(0) = 1 is to be solved using
Euler’s method. Find the largest step size that can be used to solve the equation without making
numerical solution unstable.
𝑑𝑦
13. Consider the first order IVP
𝑑𝑡
= y + 2𝑥 − 𝑥 2 , (0 ≤ 𝑥 < ∞) with exact solution 𝑦(𝑥) =
𝑥 2 + 𝑒 𝑥 . For 𝑥 = 0.1, find the percentage difference between the exact solution and the
solution obtained using a single iteration of the second order RK-method with step size 0.1.