Hi,

just some programs to calculate the periode of a mathematical pendulum. It is calculated using the equation

$$T_0 = 2 \pi \cdot \sqrt{\frac{l}{g}}$$.

I included also always two checks:

- the input is a number and
- the input is bigger than 0.

Live demo: