Question: 21. Write a MATLAB script file that solves the IVP below using EuleroDE with h-0.05 and Taylor2_ODE (Problem 16) with h 0.1. The file must

21. Write a MATLAB script file that solves the IVP below using EuleroDE with h-0.05 and Taylor2_ODE (Problem 16) with h 0.1. The file must return a table that includes the estimated solutions at x= 1:01:2, as well as the exact values and the global % relative errors for both methods, at all mesh points in the given inter- val. Discuss the results. xy, + y = x Inx, 3 4 y(1)--, 1sxS2 21. Write a MATLAB script file that solves the IVP below using EuleroDE with h-0.05 and Taylor2_ODE (Problem 16) with h 0.1. The file must return a table that includes the estimated solutions at x= 1:01:2, as well as the exact values and the global % relative errors for both methods, at all mesh points in the given inter- val. Discuss the results. xy, + y = x Inx, 3 4 y(1)--, 1sxS2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
