COS
Format: var = COS (expr)
Supported by: Quest Super BASIC 1.4
Similar commands: COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 3.0, 5.0 and 6.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3: COS
This function returns the cosine of the angle determined by the value of the expression (expressed in degrees). This function is a floating-point function. For example
For example
PR COS (60)
will print
.500001
since cos 60° = 0.5