Solve for r A=P(1+rt) for r