Solve for the given variable
A= P (1+rt) for r