bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SIN Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
SIN returns the sine of the angle x given in radians.
 
SIN(x)
    ■ The argument x can be of any numeric type.
 
Usage Notes
    ■ 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.
    ■ SIN is calculated in single precision if the argument x is an
      integer or single-precision value. If you use any other numeric data
      type, SIN is calculated in double-precision.
    ■ To convert values from degrees to radians, multiply the angle
      (in degrees) times PI/180 (or .0174532925199433) where PI = 3.141593.
    ■ To convert a radian value to degrees, multiply it by 180/PI
      (or 57.2957795130824) where PI = 3.141593.