Solve for g s=1/2*(gt^2)