A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 one year ago
I'm having some trouble with Problem Set 1, Part 3. The first two parts were easy, but I'm a little confused on how to implement bisection searching. I understand the concept well, but not sure what conditional to use to know when I've found the minimum monthly payment (mmp).
I have looked at a few different examples and tested them, but I am getting incorrect answers. I thought perhaps the problem was that the floats were not limited to two decimal places, but adding round() to the upper and lower bounds seems to result in an infinite loop.
Using an example from
http://stackoverflow.com/questions/12820003/bisectionsearch?rq=1
anonymous
 one year ago
I'm having some trouble with Problem Set 1, Part 3. The first two parts were easy, but I'm a little confused on how to implement bisection searching. I understand the concept well, but not sure what conditional to use to know when I've found the minimum monthly payment (mmp). I have looked at a few different examples and tested them, but I am getting incorrect answers. I thought perhaps the problem was that the floats were not limited to two decimal places, but adding round() to the upper and lower bounds seems to result in an infinite loop. Using an example from http://stackoverflow.com/questions/12820003/bisectionsearch?rq=1

This Question is Closed

rebeccaxhawaii
 9 months ago
Best ResponseYou've already chosen the best response.0\(\Huge\boxed{\boxed{\boxed{\huge\mathbb{WELCOME~TO~OPENSTUDY} }}}\) Hey i have made this to hopefully answer any questions you may have. But if it doesn't feel free to pm me c: http://openstudy.com/users/rebeccaxhawaii#/updates/56f5205ce4b07a8c82287f75 Good Luck with your studies! \(\Huge\heartsuit\)
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.