MATLAB Practical No.
04
Runge-kutta method
Name: - Date: -
Roll No. and Division: - Grade/Marks: -
****************************************************************
Q.1) Write a program and an output of following
I) Using Runge-kutta method find approximate value of y when x=1.2 taking h=0.2 given
𝑑𝑦
= 𝑥𝑦 and y (1) = 1.
𝑑𝑥
2) Using Runge-kutta method find approximate value of y when x=0.2 in two steps taking
𝑑𝑦
h=0.1 given 𝑑𝑥 = −𝑦 − 𝑥𝑦 2 and y (0) = 1.