Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

einhan

  • 3 years ago

What exactly is 'epsilon' in Python?

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

    If you are referring to bisection search eg. in Problem Set One 'epsilon' is a variable that is the difference between the guessed answer and the actual answer. As the program iterates towards a solution epsilon gets smaller

  2. shawnf
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    It's not in python--it's in Calculus.

  3. Screech
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    In computing (as opposed to Calculus) epsilon is some small positive value such that if you are within that range of the actual solution, it is close enough and acceptable for your use. You can't get the actual value of an irrational like square root of 2, but you can get close and if you choose your epsilon to be small enough, you can use the calculated value in place of the square root of 2. Now, you can't choose epsilon to be arbitrarily small (in the infinitesimal range). It might be so small that the computer can't get close enough to the desired solution and instead will bounce around trying to get close but will keep overshooting the solution.

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