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@gmail.com> wrote:
Hello Adrian,

those would be called asin and acos.

Best regards,
Martin


_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners




_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners