Regarding PS1 solution for bisection search, I think the answer is more complex than it should be.
Monthly payments can only be measured in cents. But here, it calculates monthly payments with numerous numbers after decimal. Once the "optimal" monthly payment is found, it manually rounds it and have to redo all the calculation with the rounded value which is a waste of time.
Why not rounding the value of monthly payments at the start of the loop since it can only be in cents ?
See http://dpaste.com/hold/1323860/ for my code.

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.