Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 8 Online
OpenStudy (anonymous):

What exactly is 'epsilon' in Python?

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!