ok i see my mistake the article states that the acceleration due to gravity is g but actually the acceleration itself is not constant ok so its a simple pendulum and it should be obvious i guess i didn't look hard enough