Quantcast

A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

einhan

  • 2 years ago

What exactly is 'epsilon' in Python?

  • This Question is Closed
  1. rich8
    • 2 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
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  3. Screech
    • 2 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

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.