Question: ( c ) The system starts at rest, y 1 ( 0 ) = y 2 ( 0 ) = 0 , with the mass

(c) The system starts at rest, y1(0)=y2(0)=0, with the mass displacements at y1(0)=0 and y2(0)=0. Use the MATLAB function ode 45 to numerically solve the four 1st-order ODEs in part (b) from time 0s to 30s with parameters m1=1kg,m2=1kg,k=2Nm,b=10N*sm, and a unit step force of F=1N(that is,F(t)=0 for t0,F(t)=1 for t0). Plot y1(t) and y2(t) versus time t in one figure and include a legend that identifies each plot. Label the figure axes. Hand in your code and figure with your homework.
[Note: You may use the code for the car suspension system model, posted on Canvas under the MATLAB Code module, as a template for your code.
 (c) The system starts at rest, y1(0)=y2(0)=0, with the mass displacements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!