Solve for P:

A = P + nrP

1 answer

A = P (1+nr)
so
P = A /(1+nr)