back to Command Reference
[All Models]
Returns the value of the corresponding trigonometric function for the argument.
SIN (argument)
└──┬───┘
Numeric expression
COS (argument)
└──┬───┘
Numeric expression
TAN (argument)
└──┬───┘
Numeric expression
*The parenthesis enclosing the argument can be omitted when the argument is a numeric value or variable.
SIN(30), COS(PI/2)
argument: Numeric expression (angle)
| argument | < 1440 (DEG) |
| argument | < 8pi (RAD) |
| argument | < 1600 (GRAD) |
Returns the value of the corresponding trigonometric function for the argument.
SIN: SINECOS: COSINETAN: TANGENT10 ANGLE 0
20 INPUT "DEGREE=", D
30 PRINT "SIN(";D;")="; SIN D
40 PRINT "COS(";D;")="; COS D
50 PRINT "TAN(";D;")="; TAN D
60 GOTO 20
Displays trigonometric function values for input angles.