# Question: use the matlab function ode45 to solve ordinary differential equation...

###### Question details

Use the MATLAB function “ode45” to solve ordinary differential equation mx''+ bx'+ kx = 0 for the following cases.

a) m=1, b = 1, k = 25

b) m=1, b = 10, k = 25

c) m=1, b = 11, k = 25

Keep the simulation time 5 seconds and zero initial velocity and the initial displacement 1 for all cases. Plot displacement of the mass x for all three cases in one figure and compare them: which of them decays fastest? Why is that?