Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

mattyfar Group Title

Can someone explain to me 'bisection search' ?

  • 7 months ago
  • 7 months ago

  • This Question is Open
  1. osanseviero Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    Ok, let's think we have to find a value in the range 1 to 1 million

    • 7 months ago
  2. osanseviero Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    I am going to try that you answer yourself

    • 7 months ago
  3. osanseviero Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    So...how would you try to find this value?

    • 7 months ago
  4. osanseviero Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    toc toc?

    • 7 months ago
  5. mattyfar Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    i know its where you guess half way and then see if the answer is lower or higher. I'm just now super clear on how to set it up in python

    • 7 months ago
  6. mattyfar Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    not*

    • 7 months ago
  7. osanseviero Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    You should write a psudo code first x is the value you are searching a is the max range b is the min range c is (a+b)/2 -> midpoint if x>c: the min range will be c now. else: the max range will be c now Something like that :) try working around it

    • 7 months ago
  8. seandisanti Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Don't forget an epsilon value, or you may end up in an infinite loop.

    • 7 months ago
  9. UnkleRhaukus Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    sounds like binary search

    • 7 months ago
  10. ricketybridge Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Are you referring specifically to Newton's method? Because that actually has a rather complicated proof to explain why it converges on the square root. For just how to implement it in Python, review the code from Prof. Guttag's examples: http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-1/lecture-3-problem-solving/MIT6_00SCS11_lec03.pdf

    • 7 months ago
  11. lopus Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    this video can help you: https://www.youtube.com/watch?v=nJ74bEB-UEw

    • 6 months ago
    • Attachments:

See more questions >>>

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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.