Question: Write a MATLAB program that does an RK4 integration of the differential equation for the initial condition y(1) = 2 up to a maximum value
Write a MATLAB program that does an RK4 integration of the differential equation
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.
(x2)uis + 7/1-4x= dx dy
Step by Step Solution
3.45 Rating (152 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
