MATLAB: Dynamic System Modeling
Do the Analytical Solution and the MATLAB coding for the indicated parts. The problem has three parts.
The mass m in Figure P4.62 is attached to a rigid rod having an inertia I about the pivot and negligible pivot friction. The input is the displacement z. When z = 0, the spring is at its free length. Assuming that z is small, I is the moment of inertia of the rod.
a) State all the assumptions and presumptions, draw the free body diagram (label magnitude and direction of any vector) with presumptions included, and derive the Equation of Motion for the System and its respective Transfer Function.
b) Using MATLAB and the Laplace method to obtain the solution to the ODE for the displacement input (step function z(t) = 0.25 u(t) with m = 3 kg, c = 5 N-s/m, k = 100 N/m, L1 = L2 = 0.6 m, L3 = 1.5 m, I = 1.8), plot the solution (Analytical solution and Matlab code).
c) Using tfO and step O functions along with the Transfer Function found in a) and the parameters given in b) to plot the response of the system to the specified input. Compare results. (print code)
k
L2 L3
1
c
m