Please use python!
Work out a formula for the total energy (kinetic plus
gravitational) of the pendulum in term of 8 and w and constants.
Take the gravitational potential energy to be zero at the lowest
point of the pendulum swing. Write your equation below using
Markdown and Latex
Write a function to calculate the energy using the trajectories produced by any of the previous functions. Plot the total energy for at least 10 perios for trajectories produced by Euler, Euler-Cromer, Leapfrog and Runge Kutta
kinetic energy = 1/2 m (2+ 2)
= 1/2 m ( L2 COS2 + L2 Sin2) 2 (X=LSin θ and y=LCOSθ)
= 1/2 m L22
= 1/2 m L2 2 ( = )
change in potential energy = mgh
= mg (L- L COS θ)
= mgL (1- COS θ )
Get Answers For Free
Most questions answered within 1 hours.