Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is a question in python. A pendulum consisting of a mass connected by a string with length l is to a fixed point on
This is a question in python.
A pendulum consisting of a mass connected by a string with length l is to a fixed point on a support, such as a ceiling. Considering that the pendulum has some friction, external forces, and large swing angles (nonlinear), the motion of equation is given by dt2d2=lgsindtd+FDsin(Dt) Use the code provided in class as a template to study the following problems with the Verlet method. 2. (30 points) With parameters q=0.5,l=g=9.8,D=2/3, dt=0.04,(0)=0, and (0)=0.2, write a program to calculate (t) and the total energy of the system E(t) for FD=0.1,0.5, and 1.2. Setting tend=100, plot (t) and E(t) and discuss the results. Pay attention to the deviations from a purely sinusoidal form at high driveStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started