In an experiment to determine gravity using a simple pendulum, the length is measured as L=100cm with an accuracy of ±1cm, and the time period T is measured with an accuracy of ±2%. Calculate the maximum percentage error in the calculated value of g.