From QB64 Wiki
Jump to navigation Jump to search

The following table describes the trigonometric operations, where theta and n are operands.

Operation Description
COS(theta) Returns the cosine of the angle theta.
SIN(theta) Returns the sine of the angle theta.
TAN(theta) Returns the tangent of the angle theta.
ATN(n) Returns the arctangent of the length n, in radians.