** ^{}**Introduction to BASIC

OPTION ANGLE DEGREES

Example.

10 OPTION ANGLE DEGREES 20 PRINT SIN(30),COS(30),TAN(30) 30 END

On this case, SIN(30),COS(30),TAN(30) stand for sin30°, cos30°, tan30°, respectively.

**Inverse Cosine**

The range of ACOS(*x*) is from 0° to 180°.

Example. A program that finds the angle *A* from the length *a, b, c* of three sides of a triangle by applying the cosine law.

10 OPTION ANGLE DEGREES 20 INPUT a,b,c 30 PRINT ACOS((b^2+c^2-a^2)/(2*b*c)) 40 END

Refer to Trigonometric Functions