Problem 54710. Compute the period of a pendulum started from a finite initial angle
Cody Problem 49830 asks for the period T of a pendulum swinging through a small angle. Here the pendulum started at rest from an angle
that is not necessarily small. The other assumptions are similar (no friction or drag, massless rod).
Write a function that takes the initial angle and returns
, where L is the length of the pendulum and g is the acceleration of gravity. In the limit as the initial angle approaches zero, the function should produce
.
Solution Stats
Problem Comments
-
2 Comments
Dyuman Joshi
on 20 Oct 2022
It seems integral() is not able to resolve upto the required precision.
I will have to think of another method or function.
ChrisR
on 28 Oct 2022
Hint: 45982
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3372 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1196 Solvers
-
154 Solvers
-
Flag largest magnitude swings as they occur
681 Solvers
-
185 Solvers
More from this Author291
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!