Exercise 2 A Im long pendulum is released from rest from an angle of deviation of n/3. Write a Matlab function which uses the ODE solver ode45 for finding the solution of the differential equation describing the motion of a nonlinear pendulum: dø = w, dt do γω- sin(φ) dt where o is the angle of the pendulum relative to the vertical, y is the drag coefficient (possible values y = [0,0.1]) and @ is the angular velocity. Browse... No file selected. Upload your M-file 0% Create and upload a plot showing the angle ø vs time for three different values of the drag coefficient (shown on the same graph). Browse... No file selected. Upload your PNG 0% II

icon
Related questions
Question

Matlab problem

Exercise 2
A 1m long pendulum is released from rest from an angle of deviation of
T/3. Write a Matlab function which uses the ODE solver ode45 for
finding the solution of the differential equation describing the motion of a
nonlinear pendulum:
dø
= 0,
dt
do
= -y@ – sin()
dt
where o is the angle of the pendulum relative to the vertical, y is the
drag coefficient (possible values y = [0, 0.1]) and o is the angular
velocity.
Browse...
No file selected.
Upload your M-file
0%
Create and upload a plot showing the angle o vs time for three different
values of the drag coefficient (shown on the same graph).
Browse...
No file selected.
Upload your PNG
0%
Transcribed Image Text:Exercise 2 A 1m long pendulum is released from rest from an angle of deviation of T/3. Write a Matlab function which uses the ODE solver ode45 for finding the solution of the differential equation describing the motion of a nonlinear pendulum: dø = 0, dt do = -y@ – sin() dt where o is the angle of the pendulum relative to the vertical, y is the drag coefficient (possible values y = [0, 0.1]) and o is the angular velocity. Browse... No file selected. Upload your M-file 0% Create and upload a plot showing the angle o vs time for three different values of the drag coefficient (shown on the same graph). Browse... No file selected. Upload your PNG 0%
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer