Home page  
Help >
Trigonometric Funtions
Version 7.11
Trigonometric Functions

When an angle is required the assumed units are radians. When an argument is required the answer is in radians. Note the following conversion factor to convert degrees to radians.

Degrees * pi/180 = Radians (where pi=3.14159...)

sin(angle) SINE of angle. Units of angle must be radians.

cos(angle) COSINE of angle. Units of angle must be radians.

tan(angle) TANGENT of angle. Units of angle must be radians.

asin(arg) ARCSINE, where Arg is in the range -1 to 1. The
result is in radians in the range -pi/2 to pi/2.

acos(arg) ARCCOSINE, where Arg is in the range -1 to 1. The
result is in radians in the range Zero to pi.

atan(arg) ARCTANGENT, resulting in an angle measured in
radians in the range -pi/2 to pi/2.

atan2(x,y) ARCTANGENT of a coordinate angle.


For example:

calc %aa=sin(%xx*3.1416/180)

If %xx was 45 degrees then %aa becomes the sine
of 45 degrees, which is 0.70711. Note the factor
3.1416/180. This was used to convert degrees to
radians, since all angles must be given in radians.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.