[Haskell-cafe] Geometry

Arie Groeneveld bradypus at xs4all.nl
Mon Aug 27 13:20:42 EDT 2007


Correction
>
>
> stefan a b = a - a * sqrt (1 - b*b / a*a)
>
should be:

stefan a b = a - a * sqrt (1 - b*b / (a*a))


>
> *Main> stefan 10 8
> 4.0
> (0.01 secs, 524896 bytes)
>
Thanks


@@i


More information about the Haskell-Cafe mailing list