# Differential equation problem? Tweet

University course discussion for engineering.

Announcements Posted on
Important: please read these guidelines before posting about exams on The Student Room 28-04-2013
1. Differential equation problem?
I am good at Matlab programming but over here I am stuck in the maths of the problem, I am dealing with the differential equation of spring mass system
mx’’+cx’+kx=0
where x’’=dx2/dt2 and x’=dx/dt. I have the values of mass and I also have the array of time and x i.e x is given for a particular value of time so I can find x’’ and x ‘ easily. I am stuck at what method to apply to find the value of c and k. I can program any method but have searched several books but didn’t get how to find c and k. If I get to know the method I can program it easily.
2. Re: Differential equation problem?
You can use a forward difference to find the spatial gradient. Build a loop around that.
Useful resources

## Articles:

Engineering Degree GuideElectronics Degree GuideEngineering Personal Statements

## Groups associated with this forum:

View associated groups