Python 2.0 and teaching precalculus
Kirby Urner
urner at alumni.princeton.edu
Sun Sep 10 11:52:02 EDT 2000
Erik Max Francis <max at alcyone.com> wrote:
>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 ... :-)
Woops.
Thanks for pointing out the typo. Fixed it at the source
page: http://www.ineterena.com/~pdx4d/ocn/precalc.html
Of course it's all relative. 1 is really small if your
x's are 10,000,000,000 apart :-D
Kirby
More information about the Python-list
mailing list