Trenthan
- 50
- 0
Homework Statement
I haven't done this for several years and have forgotten. Kicking myself now over it since it looks like something so simple but i cannot figure it out... I need to break this second order ODE into a system of first order ODE's in matrix form to use within a crank nicolson method.
\frac{d\Theta^{2}}{dt^{2}} + c\frac{d\Theta}{dt} + \frac{g}{L}sin(\Theta) = 0
The Attempt at a Solution
let
\phi_{1} = \Theta
\frac{\phi_{1}}{dt} = \phi_{2}
\frac{\phi_{2}}{dt} = -c\phi_{2} - \frac{g}{L}sin{\phi_{1}}
now problem being the \sin{\phi}, how do i take the phi out! K is meant to be the coefficients of the terms infront of phi, but in this case its within the sin :S
\left[ {\begin{array}{cc}<br /> \frac{\phi_{1}}{dt} \\<br /> \frac{\phi_{2}}{dt} \\<br /> \end{array} } \right]<br /> = <br /> \left[ {\begin{array}{cc}<br /> 0 & 1 \\<br /> unknown & -c \\<br /> \end{array} } \right]<br /> <br /> <br /> \left[ {\begin{array}{cc}<br /> \phi_{1} \\<br /> \phi_{2} \\<br /> \end{array} } \right]<br />
Cheers Trent
Last edited: