A community for students.
Here's the question you clicked on:
 0 viewing
JangoMike
 3 years ago
Stuck on problem set 1 part c: bisection search for paying off credit card in 12 months.
The program seems to be running properly with the high and low values changing according to the previous results and being averaged before a new iteration, but the payments are never high enough to pay off the debt.
The equation I'm using to define the high end of my search parameters is the one provided in the problem set,
i.e. high = (balance * (1 + (interestRate /12))**12) / 12
but even if I take the result of this as the monthly payment it never pays off the debt with a high interest rate.
JangoMike
 3 years ago
Stuck on problem set 1 part c: bisection search for paying off credit card in 12 months. The program seems to be running properly with the high and low values changing according to the previous results and being averaged before a new iteration, but the payments are never high enough to pay off the debt. The equation I'm using to define the high end of my search parameters is the one provided in the problem set, i.e. high = (balance * (1 + (interestRate /12))**12) / 12 but even if I take the result of this as the monthly payment it never pays off the debt with a high interest rate.

This Question is Closed
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.