The period T of a simple pendulum depends on its length L and gravity g:
Drag the bob to set initial position.