1. Engineering
  2. Mechanical Engineering
  3. 5 25 points given the initial value problem 11y 10y...

Question: 5 25 points given the initial value problem 11y 10y...

Question details

5. [25 points Given the initial value problem 11y 10y 10x 11, with the initial conditions y(0) -2 and y(0)-10, (a) Solve analytically to obtain the exact solution y(x) (b) Solve numerically using the forward Euler, backward Euler, and fourth-order Runge- Kutta methods. Please implement all three methods yourselves -do not use any built- in integrators (i.e., ode45)). Integrate over 0 r < 4, and compare the methods with the exact solution. (For example, using a table and/or plots.) Vary the step size used for each method over the values δ2 = 0.1, 02, and 0.3: for which values are each of the methods stable or unstable? (c) At what value of step size (to the hundredth) does the forward Euler method first show signs of instability? When does it become fully unstable? (d) At what value of step size (to the hundredth) does the 4th-order Runge-Kutta method become unstable? (e) Does the backward Euler method become unstable for large step size values? How does the error of the method (based on comparison with the exact solution) increase with growing step size? (f) Now compare the performance and accuracy of the three methods using the step size Ал 0.1. Which method would you recommend using?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution