Maxo
- 160
- 1
Homework Statement
The equation for a damped oscillation is y(t)=Ae^{-\frac{b}{2m}t}cos(\omega't + \phi)<br />
We know that y(0)=0.5 and y'(0)=0.
Find the values of A and ø and then plot the oscillation in MATLAB.
Homework Equations
See above
The Attempt at a Solution
When derivating y(t) we get
y'(t)=Ae^{-\frac{b}{2m}t}(-\frac{b}{2m}cos(\omega't+\phi)-\omega'sin(\omega't + \phi))
This, together with the initial values gives that A=\frac{1}{2cos(\phi)} and \phi=arctan(-\frac{b}{2m\omega'})
Is this correct? If not, then what is wrong?
Last edited: