Question: 2 (a) Write and submit a Matlab function implementing the RK4 method with given number of steps at https:/irkrakauer.net/sp/rk4.html dy dt (b) Use the function

2 (a) Write and submit a Matlab function implementing the RK4 method with given number of steps at https:/irkrakauer.net/sp/rk4.html dy dt (b) Use the function you wrote to find y(1) given =-y,y(0) = 1 for different n ranging from 1 to 100. Plot the absolute error as a function of n and comment how it relates to the theoretical error expression for the RK4 method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
