Question

Question 2 The pendulum shown in Figure 2 consists of a concentrated mass m attached to a rod whose mass is small compared to

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For θ(0)= 0.5

*******************Matlab Sxcript**********************

ode_fun=@(t,v) [v(2);-9.81*sin(v(1))]; %create anonymous function such that v1'=v2, v2'=(-g/L)*sin(v(1))
tspan=[0;10]; %find the solution for time t starting at t=0 till time t=10
initial_v=[0.5;0]; %initial condition is [v1(0);v2(0)]=[0.5;0]
[t,v]=ode45(ode_fun,tspan,initial_v); %apply ode45 function on the given system with given initial conditions
y=v(:,1); %the first column of v is v(1)=y whereas the second column is v(2)=y' which we don't need now
plot(t,y) %plot y vs t
title('Plot of solution of theta(y) vs time t') %Add title

*****************************

output ...........

Figure 1 File Edit View Insert Iools Desktop Window Help Plot of solution of theta(y) vs time t 0.5 0.4 0.3 0.2 0.1 -0.1 -0.2

For θ(0)= 0.8

*****************Matlab Script**********************

ode_fun=@(t,v) [v(2);-9.81*sin(v(1))]; %create anonymous function such that v1'=v2, v2'=(-g/L)*sin(v(1))
tspan=[0;10]; %find the solution for time t starting at t=0 till time t=10
initial_v=[0.8;0]; %initial condition is [v1(0);v2(0)]=[0.8;0]
[t,v]=ode45(ode_fun,tspan,initial_v); %apply ode45 function on the given system with given initial conditions
y=v(:,1); %the first column of v is v(1)=y whereas the second column is v(2)=y' which we don't need now
plot(t,y) %plot y vs t
title('Plot of solution of theta(y) vs time t') %Add title

*****************************************************

output...................

Figure 1 File Edit View Insert Iools Desktop Window Help 0.8 Plot of solution of theta(y) vs time t 0.6 0.4 0.2 -0.2F 0.4H -0

Add a comment
Know the answer?
Add Answer to:
Question 2 The pendulum shown in Figure 2 consists of a concentrated mass m attached to a rod who...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. For the simple pendulum shown in Figure 2, the nonlinear equations of motion are given by θ(t)...

    do (b) and (c) only. 2. For the simple pendulum shown in Figure 2, the nonlinear equations of motion are given by θ(t) + 믈 sin θ(t) + m 0(t)-0 Pivot point L, length Massless rod , mass Figure 2. A simple pendulum 3. Consider again the pendulum of Figure 2 of problem 2 when g = 9.8 m/s, 1 = 4.9m, k =0.3, and (a) Determine whether the system is stable by finding the characteristic equation obtained from setting...

  • A pendulum consists of a uniform rod of total mass m and length L that can...

    A pendulum consists of a uniform rod of total mass m and length L that can pivot freely around one of its ends. The moment of inertia of such a rod around the pivot point is 1/3mL^2 The torque around the pivot point of the pendulum due to gravity is 1/2mgLsinθ, where θ is the angle the rod makes with the vertical and g is the acceleration due to gravity. a) Write down the equation of motion for the angle...

  • A simple pendulum has a rod of length LL with a bob of mass m=0.100 kg...

    A simple pendulum has a rod of length LL with a bob of mass m=0.100 kg at the end of the rod. The rod is supposed to be very light and all the mass is imagined to be concentrated in the bob. A) What is the tension in the string when the pendulum swings by an angle θ=5.00∘? B) What is the magnitude of the restoring force on the bob when θ=5.00∘? C) If you drop a perpendicular from the...

  • The uniform thin rod in the figure below has mass M = 4.00 kg and length...

    The uniform thin rod in the figure below has mass M = 4.00 kg and length L = 2.21 m and is free to rotate on a frictionless pin. At the instant the rod is released from rest in the horizontal position, find the magnitude of the rod's angular acceleration, the tangential acceleration of the rod's center of mass, and the tangential acceleration of the rod's free end. (a) the rod's angular acceleration (in rad/s2) rad/s2 (b) the tangential acceleration...

  • A pendulum consists of a rod of mass 2 kg and length 1.5 m with a...

    A pendulum consists of a rod of mass 2 kg and length 1.5 m with a solid sphere at one end with mass 0.4 kg and radius 15 cm (see the following figure). If the pendulum is released from rest at an angle of 40°, what is the angular velocity at the lowest point? (Enter the magnitude in rad/s.) Axis 1.5 m, 2 kg 400 0.4 kg, 15 cm radius 2.220 x rad/s

  • A pendulum consists of a rod of mass 2 kg and length 1.3 m with a...

    A pendulum consists of a rod of mass 2 kg and length 1.3 m with a solid sphere at one end with mass 0.4 kg and radius 15 cm (see the following figure). If the pendulum is released from rest at an angle of 38°, what is the angular velocity at the lowest point? (Enter the magnitude in rad/s.) 38° 1.3 m, 2 kg 0.4 kg, 15 cm radius

  • 2. (35 points) A pendulum consists of a point mass (m) attached to the end of a spring (massless ...

    2. (35 points) A pendulum consists of a point mass (m) attached to the end of a spring (massless spring, equilibrium length-Lo and spring constant- k). The other end of the spring is attached to the ceiling. Initially the spring is un-sketched but is making an angle θ° with the vertical, the mass is released from rest, see figure below. Let the instantaneous length of the spring be r. Let the acceleration due to gravity be g celing (a) (10...

  • The pendulum shown below consists of a 100-kg sphere (r= 0.2 m) attached to a 20-kg...

    The pendulum shown below consists of a 100-kg sphere (r= 0.2 m) attached to a 20-kg slender rod OB (L = 2.0 m). It swings about a pin at 0. At the instant 0 = 60°, the pendulum has an angular velocity of oj = 2 rad/s as shown. Determine the angular velocity of the pendulum when 0 = 0° (pendulum is vertical). olso L = 2 m 0 = 60° 20 kg 20 kg 70.4 m 2.2 m -100...

  • P4. A clock keeps time using the periodic motion of a simple pendulum. The pendulum consists...

    P4. A clock keeps time using the periodic motion of a simple pendulum. The pendulum consists of a string of length L and a bob of mass m-5.00 kg attached to the end of the string. The pendulum has a period T-1.00 s. The initial angle (0) at 0 is equal to 0.175 rad. The bob is released from rest (i.e. -0) at -0. The angle between the string and the vertical is given by the equation: e-a cos (or...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT