Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 3 years ago

Problem set 1: Bisection Search question: Can we use the two while loops like we did in the question before to solve this, or do we need to start from scratch?

  • This Question is Open
  1. bwCA
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    - initialize variables - establish upper and lower bounds * guess the answer (1/2 way between upper and lower * perform computations * check the result and determine if the guess was too big or too small or just right * adjust one of the bounds as necessary * repeat if you can reuse code, great

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy