Consider the ODE y + 2y' + 9y = 0 with the initial conditions y(0) =...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the ODE y" + 2y' + 9y = 0 with the initial conditions y(0) = 0 and y'(0) = 1. First, solve it analytically. Next rewite it as a coupled set of first-order ODE's. Now, write a computer code to integrate it using the backward Euler scheme, i.e. for each equation dA/dt = RHS, the scheme is written A, - An-1 = h RHS,, where h is the uniform step size. Write the resulting set of equations in matrix form and write a code to solve it. Finally, plot out the analytical and numerical solution over the range [0, 7). Try a few values of h and see what happens. Consider the ODE y" + 2y' + 9y = 0 with the initial conditions y(0) = 0 and y'(0) = 1. First, solve it analytically. Next rewite it as a coupled set of first-order ODE's. Now, write a computer code to integrate it using the backward Euler scheme, i.e. for each equation dA/dt = RHS, the scheme is written A, - An-1 = h RHS,, where h is the uniform step size. Write the resulting set of equations in matrix form and write a code to solve it. Finally, plot out the analytical and numerical solution over the range [0, 7). Try a few values of h and see what happens.
Expert Answer:
Related Book For
Process Dynamics and Control
ISBN: 978-1119385561
4th edition
Authors: Dale E. Seborg, Thomas F. Edgar, Duncan A. Mellichamp, Francis J. Doyle
Posted Date:
Students also viewed these mathematics questions
-
Solve this ODE using a Symbolic software program: All initial conditions for y and its derivatives are zero. d'y dy + 16y 176 + 105y = 1 + 86y dt? dr dt di3 dt
-
What is the shear capacity of the RC beam described below considering the steel reinforcement and using the formula: VRsyAw 2fyd cot 8/s The shear reinforcement in the beam is provided by sets of...
-
Solve each system using matrix notation. Give each solution set in vector notation. (a) 2x + y - z = 1 4x - y = 3 (b) x - z = 1 y + 2z - w = 3 x + 2y + 3z - w = 7 (c) x - y + z = 0 y + w = 0 3x - 2y...
-
What is GST?
-
1. What is an advantage of a linked list over an array? A. Linked lists take up less space per element B. Linked lists can grow dynamically to hold individual new elements without copying existing...
-
David's utility function is U = q1 + 2q2. Describe his optimal bundle in terms of the prices of q1 and q2?
-
Pick a product like Cadillac or Sara Lee Deli products or service like Mr. Clean Performance Car Wash or a car and home insurance company that is offered in a limited number of countries. Assess the...
-
The City of Faireld issued $100 million of 20-year, 6 percent coupon bonds (3 percent per semiannual period) for $89.32 million. The price reected a yield of 7 percent (3.5 percent period semiannual...
-
Explain briefly why countries trade If two countries, Chile and Agentina start to trade, what will determine what each country will exportor import? Explain why countries do not produce everything...
-
The bookkeeper has prepared a preliminary trial balance of Suzzy and Daryl for the year ended 31 December as follows. GH Capital account Profit and loss account at 1 January Bank loan Debtors and...
-
Planet Zirboin is a planet very far away (perhaps that's why you've never heard of it). The planet uses money, much like you do on Earth, but their system is a little different in that they only have...
-
Identify and describe two situations in which a payment received by a taxpayer is not recognized as taxable income. Then, identify one situation in which a taxpayer would recognize taxable income...
-
Look at agencies that offer hope on the various world problems that have been tackled. This is how we consider interventions, as implied by the course title. Find an agency that is battling a problem...
-
do you think companies are more susceptible to disruption risk now than they were ten or twenty years ago? If so, why? Based on your corporate experience, give examples of decisions that have...
-
What metrics would you track to monitor the performance of a software application in production? How would you use these metrics to guide future development and optimizations?
-
A battery company has found that the defective rate of its batteries is 0.05. Each day, 7 batteries are randomly tested. Find the probability that exactly 1 is found to be defective.
-
In Java Please Suppose that we want to perform the first partition of quicksort on the array 55-77- 22-11-66-99-44-33-88, with 55 as the pivot. Following the steps of the Quicksort example in the...
-
How does health insurance risk differ from other types of insurance risk (e.g., automobile or homeowners insurance)? What is the difference between cost sharing and cost shifting? Is retiree health...
-
The analog exponential flter in Eq. 17-4 is used to flter the output signal from a transfer function G = 1/(2s + 1). The input signal is d(t) = 1 + 0.2 sin t. Compare the responses for no fltering (...
-
Water (F 1 ) is blended with a stream F 2 with 40% ethanol to make a whiskey product that is 30% ethanol. Assume F 1 = 4 gal/min and F 2 = 4 gal/min. (a) Develop a steady-state material balance model...
-
Suppose a control system is modeled by G v G p = 0.25 / (s + 1) 3 , G m = 4, and G c = K c . Find the maximum value of K c for a proportional controller for which the system is stable, using direct...
-
Rank in order, from largest to smallest, the size of the friction forces in the five different situations (one or more friction forces could be zero). The box and the floor are made of the same...
-
The terminal speed of a Styrofoam ball is 15 m/s. Suppose a Styrofoam ball is shot straight down with an initial speed of 30 m/s. Which velocity graph is correct? Vy (m/s) Vy (m/s) v, (m/s) vy (m/s)...
-
Boxes P and Q are sliding to the right across a frictionless table. The hand His slowing them down. The mass of P is larger than the mass of Q. Rank in order, from largest to smallest, the horizontal...
Study smarter with the SolutionInn App