{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# assign11 - agrees with your code 3 Use your code to solve...

This preview shows page 1. Sign up to view the full content.

ASE 211 - Homework 11 Due: in class, Wednesday, April 27th. 1. Consider the initial value problem y ( x ) = 5 x 4 y, x > 0 y (0) = 2 , which has the exact solution y ( x ) = 2 e x 5 . By hand, take 5 steps of the forward Euler method with step size h = 0 . 1. 2. Write a matlab m-file which implements the forward Euler method. Test your m-file on the problem above and check that your hand work
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: agrees with your code. 3. Use your code to solve the problem for 0 ≤ x ≤ 1 with h = 0 . 05 , 0.025 and 0.0125. Determine the approximation of y (1) for each case and plot x versus y in each case and compare with the exact solution....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online