I am working on a script to find the interest rate of a loan, given p, pmt, and n.
The script works but I used an incremental loop to solve for i. It has been suggested to me that a bisection loop would yield a much faster result as well as being very accurate. Problem is I am not sure how to what is involved. Can anyone explain it to me in terms of php.
Thanks
Jeff