[Haskell-beginners] Inverse trig functions

Nadir Sampaoli nadirsampaoli at gmail.com
Fri Sep 20 14:05:37 CEST 2013


2013/9/20 Adrian May <adrian.alexander.may at gmail.com>

> Apparently not. Those are 1/sin and 1/cos. I want to supply a ratio and
> get an angle.
>
> Hello Adrian,
I wasn't sure my trigonometry was still good so I fired up ghci and here's
what I got:

    Prelude> let angle = pi / 2 in asin (sin (angle)) == angle
    True

Does it make sense?

Regards,
Nadir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130920/14ed5337/attachment.htm>


More information about the Beginners mailing list