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