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
-
Return the 3n+1 sequence for n
8227 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5603 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2957 Solvers
-
Check if number exists in vector
11053 Solvers
-
USC Fall 2012 ACM : Code Word Minimum Flipped Bits
18 Solvers
More from this Author269
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!