Inverted Pendulum:
P3. (30 points) Use the Simulink to simulate the differential equations for inverted pendulum
system given below:
$\dot{x}_1 = x_2$
$\dot{x}_2 = \frac{mglsin(x_1) - \mu x_2 + u(t)}{ml^2}$
The values of parameters are: m = 0.2 kg, l = 1 m, g = 9.8 ms¯², μ = 0.05 N. m. s, u = 2 N.
Which value of input (u) is giving the constant value of x₁ and at which value the x₁blows up.
Record your results for both values.
Note:
Submit your pdf, Simulink, and matlab files for all the above problems in a zipped folder.