Description
Write a MATLAB function/script that performs the following tasks:
(a) Uses Taylor’s method of order two to approximate the solution of the following initial value problem:
y
0
= te3t − 2y, 0 ≤ t ≤ 2, y(0) = 0, h = 0.1.
(b) Find the absolute error (you have the exact solution from the quiz).
(c) Display the data in the following form:
ti T aylor Order 2 Error
Name your file: WS8_LastName_FirstInital()
Submit your MATLAB code file to Dropbox no later than Saturday (11:59pm), 11/07
1