Hello I have attached a formula which i am stuggling to solve for m.

As you can see this is for loan amortimization but i thought I would put it in this forum as its mathematical identity problem not a business problem.

Any help would be greatly appreciated.

Thanks