Determining accleration due to gravity

with a known string length L

A pendulum should be rigid.