Differential equation problem?

University course discussion for engineering.

Announcements Posted on
Ask me ANYTHING - Andrew O'Neill - Buzzcocks comedian, amateur occultist, vegan... 22-05-2013
IMPORTANT: You must wait until midnight (morning exams)/4.30AM (afternoon exams) to discuss Edexcel exams and until 1pm/6pm the following day for STEP and IB exams. Please read before posting, including for rules for practical and oral exams. 28-04-2013
Sign in to Reply
  1. makeyourassignment's Avatar
    • New Member
    • Posts: 12
    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. djpailo's Avatar
    • Exalted and Worshipped Member
    • Location: United Kingdom
    • Posts: 1,113
    Re: Differential equation problem?
    You can use a forward difference to find the spatial gradient. Build a loop around that.
Sign in to Reply
Share this discussion:  
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.