(Solved): solve number 3 Figure 1: Cart with simple pendulum. This mechanisin has one translational degrce of ...
solve number 3
Figure 1: Cart with simple pendulum. This mechanisin has one translational degrce of frecdom arid one rotational degree of freedom. The system physically consists of a cart C with mass m1 and center of mass c rolls along ia as shown in Figure 1. The distance from w to c along iA is q.A simple pendulum L with length f is connected to the cart at c1, and the particle y mountod on the end of the pendulum has mass m2. As shown in the Figure, an external force fext =fext l^A is applied to the cart. The cquation of motion of the cart and the pendulum is [m1+m2m2ℓcosθm2ℓcosθm2ℓ2][qθ]+[−m2ℓθ˙2sinθm2ℓgsinθ]=[fcxt0].
\begin{tabular}{|c|c|} \hline Parameter & Value \\ \hline Mass of the cart, m1 & 2kg \\ \hline Mass of the pendulum, m2 & 1.kg \\ \hline Length of the pendulum, ℓ & 30cm \\ \hline Acceleration due to gravity, g & 10m/s2 \\ \hline \end{tabular}
3. Lineariazation. Lincarize the nonlincar system (1) about all cquilibriums you found in the previous step. At each equilibrium, classify the linearized system as asymptotically stable, semi-stable, Lyapunov stable, or unstable.
To linearize the given nonlinear system and analyze its stability, we'll use the Jacobian matrix. Here's the Matlab code that performs the linearization and stability analysis for each equilibrium point: