advr.hlp (Topic list)
COS, SIN, and TAN Functions Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 COS(angle)
 SIN(angle)
 TAN(angle)
 
 Usage Notes
   ■ The cosine of an angle in a right triangle is the ratio between the
     length of the side adjacent to the angle and the length of the
     hypotenuse.
 
   ■ The sine of an angle in a right triangle is the ratio between the
     length of the side opposite the angle and the length of the
     hypotenuse.
 
   ■ The COS, SIN, and TAN functions are calculated in single precision if
     numeric-expression or angle is an integer or single-precision value.
     If you use any other numeric data type, they are calculated in double
     precision.
 
   ■ TAN (tangent) is the inverse of ATN (arctangent).
 
   ■ The tangent of an angle (the value returned by TAN) in a right triangle
     is the ratio between the length of the side opposite an angle and the
     length of the side adjacent to it.
 
   ■ To convert values from degrees to radians, multiply the angle (in
     degrees) by pi/180 (or .0174532925199433) where pi = 3.141593.
 
   ■ To convert a radian value to degrees, multiply radians by 180/pi (or
     57.2957795130824).
 
   ■ Pi has the following approximate value:
 
         pi = 3.14159265359     or     pi = 4.0 * ATN(1.0)