2. Approximating ODES [70 points] Given the initial value problem y + 7y+10y=20x +4, with the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. Approximating ODES [70 points] Given the initial value problem y" + 7y+10y=20x +4, 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 integra- tors (i.c., solve ivp). Solve over 0 < x < 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 Ax = 0.1, 0.3, and 0.6; for which values are each of the methods stable or unstable? 2 of 3 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? (This does not require a formal stability analysis; just show how the solution becomes unstable for some step size.) 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 Ar=0.1. Which method would you recommend using? Why? 2. Approximating ODES [70 points] Given the initial value problem y" + 7y+10y=20x +4, 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 integra- tors (i.c., solve ivp). Solve over 0 < x < 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 Ax = 0.1, 0.3, and 0.6; for which values are each of the methods stable or unstable? 2 of 3 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? (This does not require a formal stability analysis; just show how the solution becomes unstable for some step size.) 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 Ar=0.1. Which method would you recommend using? Why?
Expert Answer:
Posted Date:
Students also viewed these mechanical engineering questions
-
Examine Jamaica's Climate Change adaptation and mitigation strategies over the last four (4) years and evaluate its alignment with the goals of the Paris Agreement. Identify best practices from any...
-
the study found no significant changes in beliefs for both the experimental and control groups after reading the articles, as the mean differences in pretest and posttest scores were zero for both...
-
Which power plant has high load factor?
-
Describe in a single sentence the structure of a unit membrane.
-
What two earnings per share figures generally are reported by a corporation with a complex capital structure? Besides common shares outstanding, what additional securities are included in the second...
-
The following information is available for Drew Gooden Company. Assume that December 31 is the end of its annual accounting period. a. The Prepaid Insurance account shows a debit balance of...
-
Brazil points to its shrimp-farming industry as an example of how it can compete in world markets. One decade ago, Brazil exported a meager 400 tons of shrimp. Today, Brazil exports more than 58,000...
-
1.Use the table of values to find the line of regression and if justified at the 0.05 significance level, use it to find the predicted quality score of a TV set with a price of $1900.If the data does...
-
If y = y (x) satisfies the differential equation 8x (9+x) dy = (4+9+x) then y (256) A 16 B 80 C 3 D 9 -1 dx, x > 0 and y (0) = 7,
-
A cylindrical beam of length 2m and diameter of 120 mm, is arranged with a loading in the middle and two supports either end, as shown in Figure Q13. Select the correct Bending Stress in Mega-Pascals...
-
Evaluate 8 23r
-
Power Audio Inc. manufactures audio speakers. Each speaker requires $127 per unit of direct materials. The speaker manufacturing assembly cell includes the following estimated costs for the period:...
-
Hedging with Forwards and Options: One year from today, you will be receiving CHF 500,000, but you would prefer dollars. The current spot rate is CHF 0.92 per USD, and the one year forward rate is...
-
Explain the concept of chemical potential in the context of thermodynamics, particularly in relation to the Gibbs-Duhem equation and its significance in predicting phase equilibria in complex...
-
A tow truck pulls a 2000 kg car, over level ground, with a force of 10,000 N inclined at an angle of 75 degrees above the horizontal. Make a free body diagram for the car and, assuming the car is...
-
The landing gear of an aircraft with: mass of 2000 kg the spring-mass-damper system Consider that the runway surface is y(t) = 0.2 cos 157.08t stiffness of the spring is 5 x 105 N/m. What is the...
-
For each of the following costs that are commonly incurred in a manufacturing company, identify which cost driver would likely be the more appropriate choice. Support your answer. Type of Cost 1....
-
Manufacturing Inc. is concerned about the profitability of orders for athletic apparel. Orders consist of standard items and custom items. Custom orders allow the customer to add a fogo or request a...
-
Using the information from Review 4-4, answer the following questions. a. Determine the total profit for standard items and custom items using the current allocation system. b. Determine the total...
Study smarter with the SolutionInn App