Many engineering systems exhibit nonlinear behavior. In this experiment you will use
Matlab and Simulink to build a nonlinear system and study its behavior. Include all the
printouts in your report. Write necessary illustration on your printouts to explain what do
they mean.
Consider a pendulum system, which is a point mass m swinging on a mass-less rod of
length $l$. For the simulation, use the values $m = 1kg$ and $l = 1m$.
(a). Derive the differential equation in $\phi$ describing the motion of the mass m. Write the equations
of the system in the form:
$\frac{d^2\phi(t)}{dt^2} = \text{{some tems of }} \frac{d\phi(t)}{dt} \text{, and } \phi(t)$
Then build the system in Simulink. Use \"Integrator\", \"Gain\", and a \"Sine Wave
function\". The output of the system is $\phi(t)$. Use a \"Scope\" to display the output. The
initial condition will be set as $\phi(0) = 5^\circ$ and $\dot{\phi}(0) = 0$. Run the system and print your
result.