1. In your class have you discussed numerical techniques to solve differential equations?

2. Hint: think of it as two separate problems, one from t=0 to 10s and the second from t=10s to 30s. Care must be taken as to the initial conditions of each problem.

Thank you for your reply,

Here is my situation,

I am at 2nd year of mechanical engineering. Due to economical and family problems I couldn’t attend classes for this year, so I took numerical analysis lesson as independent study. I am quite familiar with differential equations but not with numerical methods. My teacher told me that he needs from me not to solve differential equations by hand, but use of Matlab or Octave to solve "typical engineering problems». Like the problem above which I am very confused with it, I must solve it using Matlab, either way I spend more than 3 days of continuous reading trying to solve it also by hand with no luck.