Question

Assuming we know the Payment and P and r can you solve for n: What would be the formula?

Fig: 1