[edu-sig] Simpson exact

Henrik Eriksson henrik at nada.kth.se
Wed Mar 30 14:47:28 CEST 2005


Kirby, you are working too hard!

>  >>> simpson(g,0,3,10000)
>  8.9999999999999893

Why ten thousand intervals when one interval gives
the exact result?

>>> simpson(g,0,3,1)
9.0

Henrik



More information about the Edu-sig mailing list