Page 259 - Learn to Program - Basic-256
P. 259
Chapter 16: Mathematics – More Fun With Numbers. Page 243
Tangent:
The tangent is the ratio of the adjacent side over the opposite side
a
tan A= . The tangent repeats itself every p radians and has a range from
b
-∞ to ∞. The tangent has this range because when the angle approaches
½p radians the opposite side gets very small and will actually be zero when
the angle is ½p radians.
Illustration 27: Tan() Function
Degrees Function:
The degrees() function does the quick mathematical calculation to convert
an angle in radians to an angle in degrees. The formula used is
degrees=radians/ 2∗360 .
Radians Function:
The radians() function will convert degrees to radians using the formula
radians=degrees/360∗2 . Remember all of the trigonometric functions in
BASIC-256 use radians and not degrees to measure angles.
© 2019 James M. Reneau (CC BY-NC-SA 3.0 US)

