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
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Find common elements in matrix rows
2713 Solvers
-
Convert hex color specification to MATLAB RGB
256 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
449 Solvers
-
What gear ratio does the cyclist need?
159 Solvers
-
16458 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
It seems integral() is not able to resolve upto the required precision.
I will have to think of another method or function.
Hint: 45982