Question: Consider the IVP on [0, 1]: y = -y1 - Y2 y2 = Y1 - Y2 31(0) = 1,2(0)= = 0 (a) Verify that

Consider the IVP on [0, 1]: y = -y1 - Y2 y2

Consider the IVP on [0, 1]: y = -y1 - Y2 y2 = Y1 - Y2 31(0) = 1,2(0)= = 0 (a) Verify that the solution is y1(t) = et cost, y2(t) = et sint. (b) Apply Euler's Method with step sizes h = 0.1 and 0.01 to the initial value problem. Plot the approxi- mate solutions and the correct solution on [0, 1]. You can use the MATLAB code euler2.m to calculate the two approximations. (c) Find the global truncation error at t = 1. (d) Is the reduction in error for h = 0.01 consistent with the order of Euler's Method?

Step by Step Solution

3.39 Rating (171 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To verify that the solution is y t e cost and y t e sint we can directly substitute these function... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!