$$P={R * CCB \over 1-(1+R)^{-t}}$$ P stands for monthly payment, R is the interest rate,CCB is the initial credit card balance,t is the number of months until the debt is paid.
I would like to derive the formula for t ! $$-(1+R)^{-t}={R*ccb \over P} -1$$ After this How should I proceed !