1. Engineering
  2. Mechanical Engineering
  3. use the matlab function ode45 to solve ordinary differential equation...

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?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution