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 Solvers7
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2594 Solvers
-
1382 Solvers
-
42 Solvers
-
Getting the indices from a matrix
739 Solvers
-
Fix the last element of a cell array
1882 Solvers
More from this Author330
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