Write a MATLAB program that does an RK4 integration of the differential equation for the initial condition

Question:

Write a MATLAB program that does an RK4 integration of the differential equation(x2)uis + 7/1-4x= dx dy

for the initial condition y(1) = 2 up to a maximum value x = 5. Your program should automatically generate a single plot with a legend that has the evolution of the function y(x) for the step sizes h = 0.2, h = 0.08 and h = 0.01.

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: