Consider a mass-spring-dashpot system as shown in Figure. The mathematical model for this system is represented by mx + bx + kx = ft, where m is the equivalent mass of the system, b is the damping ratio (or viscous friction coefficient), k is the spring stiffness, and f(t) is the forcing function in the x direction.
Use MATLAB/SIMULINK to simulate the response of this system to a unit step input.
a. Model the SIMULINK block diagram to represent the equation of motion (the above second-order differential equation).
b. Show the step response with given values from a scope in the SIMULINK workspace window.
c. Send the output to the workspace and plot time (tout) vs. simout.
Assume that m = 2.0 kg, b = 0.7 Ns/m, k = 1 N/m, and the running time t = 30 seconds.
f(t)