You are on page 1of 3

Lab Report 05

Exercise 01
Write differential equation(s) for the following system and find transfer function Y(s)/U(s). Sketch
the step response. (Show all working) >> K1=5, K2=2, B=1, m1=0.5, m2=0.5.

Figure 5.11: Code for the given Mass Spring Damper System

Figure 5.12: step response of the given mechanical system


Figure 5.13: Simulink diagram of the given mechanical system

Figure 5.14: Simulink step response of the given system (this plot is on the Simulink after drawing the circuit of the
given mechanical system on the Simulink interface)
Figure 5.15: Step response plotting on MATLAB after importing the variable ‘simout’ from the workspace of
simulink

You might also like