To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic Example Programs
ATN2 EXAMPLE
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
ATN2 Example
10 !ATN2 returns the angle of the vector from the origin to a point.
20 !In this case, -4 is the y-value and 3 is the x-value.
30 CLEAR SCREEN
40 PRINT ATN2(-4,3)
50 END