Paying debt off in a year using Bisection method