Solve for P:

A = P + nrP

A = P (1+nr)

so
P = A /(1+nr)

To solve for P in the equation A = P + nrP, where A, n, and r are known variables, you can follow these steps:

1. Start by factoring out P on the right-hand side of the equation:
A = P(1 + nr)

2. Divide both sides of the equation by (1 + nr) to isolate P:
A / (1 + nr) = P

Now you have solved for P in terms of the given variables A, n, and r.