Specifies the angle unit
ANGLE angle specification
└───────┬────────┘
Numeric expression
ANGLE 0
angle specification: Numeric expression truncated to an integer in the range 0 ≦ angle specification < 3
Angle Unit | DEG | RAD | GRAD |
---|---|---|---|
1 DEG = | 1 | π ── 180 |
100 ── 90 |
1 RAD = | 180 ── π |
1 | 200 ── π |
1 GRAD = | 90 ── 100 |
π ── 200 |
1 |
ANGLE 0
is set whenever ALL RESET
is executed.10 ANGLE 0 'DEGREES
20 PRINT SIN 30;
30 ANGLE 1 'RADIAN
40 PRINT SIN (PI/6);
50 ANGLE 2 'GRAD
60 PRINT SIN(100/3)
Calculates and displays sin 30º in the degree mode, sin π÷6 in the radian mode, and sin 100÷30 in the grad mode.