Write a MATLAB script file that solves the IVP in Problem 38 using Euler ODE with h = 0.025,…

 
   

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadlines.  

Write a MATLAB script file that solves the IVP in Problem 38 using Euler ODE with h = 0.025, HeunODE with h = 0.05, and RK4 with h = 0.1. The file must return a table that includes the estimated solutions, as well as the global percent relative error, at x = 1, 1.1, 1.2, 1.3, 1.4, 1.5 for all three methods. Discuss the results.

Problem 38

Write a MATLAB script file that uses Euler ODE (Section 7.2), HeunODE (Section 7.3), and RK4 (Section 7.3) to find the approximate values produced by Euler’s method, Heun’s method, and the classical RK4 method and returns a table that includes the estimated solutions, as well as the global percent relative error for all three methods at all mesh points in the given interval. Discuss the results.