Python 2.0 and teaching precalculus

Erik Max Francis max at alcyone.com
Sun Sep 10 11:23:51 CEST 2000


Kirby Urner wrote:

> def wiggle(function,input,epsilon=1e-10):
>     """
>     Accepts a function, value and returns delta f / delta x
>     for small epsilon (default of 1^-10 may be overridden)
	...

1 seems like a bad choice for an epsilon ... :-)

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ We'll have to make our own luck from now on.
\__/ Louis Wu
    Computer science / http://www.alcyone.com/max/reference/compsci/
 A computer science reference.



More information about the Python-list mailing list