Chapter 8: Problem 19
Harmonic motion. An unforced, damped oscillator is modeled by the equation $$ m y^{\prime \prime}+c y^{\prime}+k y=0, $$ where \(m\) is the mass, \(c\) is the damping constant, and \(k\) is the spring constant. Write the equation as a system of first order ODEs and create a function ODE file that allows the passing of parameters \(m, c\), and \(k\). In each of the following cases compute the solution with initial conditions \(y(0)=1\), and \(y^{\prime}(0)=0\) over the interval \([0,20]\). Prepare both a plot of \(y\) versus \(t\) and a phase plane plot of \(y^{\prime}\) versus \(y\). a) (No damping) \(m=1, c=0\), and \(k=16\). b) (Under damping) \(m=1, c=2\), and \(k=16\). c) (Critical damping) \(m=1, c=8\), and \(k=16\). d) (Over damping) \(m=1, c=10\), and \(k=16\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.