Question: Use Matlab to solve problem: Pendulum Motion with Resistance Problem10: The pendulum shown consists of a concentrated mass m attached to a rod whose mass
Use Matlab to solve problem:

Pendulum Motion with Resistance Problem10: The pendulum shown consists of a concentrated mass m attached to a rod whose mass is small compared to m. Let's assume there is a small resistance to its motion through the air that is proportional to the linear velocity. Then if the rod's length is L, the equation of motion for the pendulum is: 0+--0+-sin = 0 Suppose that L-1 meter, and g 9.806 meters/s2, m 5 kg, and r 0.25 kg/s. Ceate a funcion M-fle that ues ode23 to solve his equation for the case where the pendulum starts from rest (initial angular velocity-0) at some initial angle (in degrees). Create the function used by ode23 as a subfunction in your function M-file, call it Pendulum.m (Warning! you will have to create a "handle" for this subfunction in order to use it with ode23, you should know how to do that.) The only input to your function M-file is the initial pendulum angle, 6o (in degrees),. The only output is a graph for the pendulum angle as a function of time (in seconds). Your function M-file should generate a graph for the angle as a function of time over 5 full cycles of the damped oscillation. Do not upload the figure file, your function M-file should create
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
