ATN Example
10! Test triangle leg 1 = 3 units, leg 2 = 4 units, hyp. = 5
20! units. Find the
30! angle between leg 2 and hyp. /|
40! 5 / |3
50! / |
60! -----
70! 4
80! The ATN function returns the angle between, in this case
90! leg 2 and the hyp. Take the opposite leg (3) over the
100! adjasent (4) -- which is the tangent. ATN is the opposite
110! of TAN.
120 CLEAR SCREEN
130 PRINT "The angle, using arctangent function."
140 RAD
150 PRINT "is";ATN(3/4);"radians."
160 DEG
170 PRINT "or";ATN(3/4);"degrees."
180 END