bas7advr.hlp (
Topic list)
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.