DIFFERENTIAL EQUATION PROBLEMS
1) Solve the first order differential equation below; change the M-file or function file given in the examples when necessary. Make useful plots. Remember that A(dx/dt) + Bx = 0.
a) A = -1, B = 6, x(0) = 5
b) A = 0.1 , B = 0, x(0) = -12
2) Use the given examples for 2nd order systems to solve the 2nd order differential equations. Change the function file only when necessary. Make useful plots. Experiment with tf. Remember that A(d2x/dt2) + B(dx/dt) + C x = 0.
a) A = 2, B = -3, C = 4, x(0) = 5, x’(0) = 2 . Find x(t)
b) For the differential equation d2v/dt2 - 2 dv/dt + 1 v - 4 = 5cos(t),
v(0) = 5, v’(0) = -2. Find v(t)