Raise length, gravity and mass to powers until the units come out in seconds.
Three number lines, one each for the powers of kilograms, metres and seconds. A rose ring on each line marks the power the answer must have; a dot shows the power your guess has. Three sliders set the power each input quantity is raised to. When all three dots sit in their rings the dots turn green: the units match, and the combination is the physical law up to a pure number. Buttons pick a pendulum's period, the speed of a wave on a string, or a planet's orbital period.
Let the units find the law
InteractiveFind
The math, with your numbers
Units can't tell you pure numbers like 2π, but they pin down how the answer depends on each quantity.
Try this
Want to know why it behaves like this?
The lesson “Dimensional Analysis: Let the Units Do the Work” explains it step by step: Can you find a law of physics just by checking its units?