we have a second-order linear non-homogeneous differential equation: mz'' + 5z' +120z=gm where g=32 and m is a paramter. Our initial conditions are z(0)=100 and z'(0)=0 we want solutions for when m=[85, 130, 170, 210] write a python code using the def model and odeint commands that will solve this system and plot the four different solutions for the different values of m ON THE SAME GRAPH. That is, we want all four solutions to appear on a single graph.

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter11: Differential Equations
Section11.CR: Chapter 11 Review
Problem 12CR
icon
Related questions
Question

we have a second-order linear non-homogeneous differential equation: mz'' + 5z' +120z=gm

where g=32 and m is a paramter. Our initial conditions are z(0)=100 and z'(0)=0

we want solutions for when m=[85, 130, 170, 210]

write a python code using the def model and odeint commands that will solve this system and plot the four different solutions for the different values of m ON THE SAME GRAPH. That is, we want all four solutions to appear on a single graph.

 

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning