Page 257 - Learn to Program - Basic-256
P. 257
Chapter 16: Mathematics – More Fun With Numbers. Page 241
Function Description
cos(expression) Return the cosine of an angle.
sin(expression) Return the sine of an angle.
tan(expression) Return the tangent of an angle.
degrees(expression) Convert Radians (0 – 2p) to
Degrees (0-360).
radians(expression) Convert Degrees (0-360) to Radians
(0 – 2p).
acos(expression) Return the inverse cosine.
asin(expression) Return the inverse sine.
atan(expression) Return the inverse tangent.
The discussion of the first three functions will refer to the sides of a right
triangle. Illustration 24 shows one of these with it's sides and angles labeled.
Illustration 24: Right Triangle
© 2019 James M. Reneau (CC BY-NC-SA 3.0 US)

