Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I saw the other posted answer to this question under computer engineering, but i

ID: 3852295 • Letter: I

Question

I saw the other posted answer to this question under computer engineering, but it was a bunch of broken code (ran it in MATLAB and it did not work). Looking for a walkthrough process on how to solve this using SImulink.

Use Simulink to solve: For a pendulum with viscous friction in the pivot and an applied moment about the pivot the motion can be described with the following nonlinear equation: 1. dt2) + cat) + (mgL) sin = M Where Mis a function of t, M(t), and / is the mass moment of inertia about the pivot. Create a Simulink model for this systern for the case where 4, ngu= 10, c= 0.8, and M(t) is a square wave with an amplitude of 3 and a frequency of 0.5 Hertz. Assume that the initial conditions are: 6(0) = _ and--(0) = 0. 4 Use a signal generator from the Sources menu to create the square wave. Make sure to select the wave type, amplitude and frequency when you change the parameters of the signal generator

Explanation / Answer

Code: