Hello All,
What wrong with this function:
Let>ans={cos(340)}
And it returns me ans=0.759668310007225.
My calculator returns me 0.93969207859...
??
Please help
Cosine function
Moderators: Dorian (MJT support), JRL
Re: Cosine function
Hi, According to the manual, the COS function requires the angle to be entered in radians, not degrees, see conversion below:
Code: Select all
Let>val_in_degrees=340
Let>val_in_radians={%val_in_degrees%/360*2*Pi}
Let>result={cos(%val_in_radians%)}
MDL>result
Re: Cosine function
Yes, You are right.
Thanks a lot. I haven't read the instruction well enough
Thanks a lot. I haven't read the instruction well enough