# Homework Help: 2nd Order DE in MATLAB

1. Nov 10, 2011

### cstoos

1. The problem statement, all variables and given/known data

I need to know how to solve a second order differential equation in MATlab

2. Relevant equations

The basic form of the differential equation that I need to solve is:

m$\stackrel{..}{x}$-c$\stackrel{.}{x}$-kx = sin(t)

3. The attempt at a solution

I know that to solve it in MATlab you need to break it up into first order ODEs. I have looked at the help website as well, but it is a bit unclear in the fact that it calls functions but doesn't show what the function does...then it refers to matrices that are not defines within the webpage. The help page is located http://www.mathworks.com/support/tech-notes/1500/1510.html" [Broken]
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution

Last edited by a moderator: May 5, 2017