[Haskell-beginners] Inverse trig functions

Graham Gill math.simplex at gmail.com
Fri Sep 20 15:14:30 CEST 2013


Prelude> asin(1/sqrt(2)) * 180 / pi
45.0

asin is taking a ratio and returning an angle in radians, and I've 
converted it to degrees to show that clearly.

Graham

On 20/09/2013 7:52 AM, Adrian May wrote:
> Apparently not. Those are 1/sin and 1/cos. I want to supply a ratio 
> and get an angle.
>
>
> On 20 September 2013 19:40, Martin Ruderer <martin.ruderer at gmail.com 
> <mailto:martin.ruderer at gmail.com>> wrote:
>
>     Hello Adrian,
>
>     those would be called asin and acos.
>
>     Best regards,
>     Martin
>
>
>     _______________________________________________
>     Beginners mailing list
>     Beginners at haskell.org <mailto:Beginners at haskell.org>
>     http://www.haskell.org/mailman/listinfo/beginners
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130920/7e929c7d/attachment.htm>


More information about the Beginners mailing list