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
-
Create a cell array out of a struct
2424 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
683 Solvers
-
Create a vector whose elements depend on the previous element
790 Solvers
-
Circular Primes (based on Project Euler, problem 35)
651 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