• anonymous
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
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • katieb
I got my questions answered at in under 10 minutes. Go to now for free help!
  • rebeccaxhawaii
\(\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: Good Luck with your studies! \(\Huge\heartsuit\)

Looking for something else?

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