Home Page


BASIC Handbook

Basic2 Commands
Disk Drives
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite
ASCII and CHR$ Codes

eMail
email5-commodorecheetah.co.uk

Note: You will need to replace the '-' with the @ symbol.
This is to minimize spam.

My BASIC Quick Reference Guide

ATN()
Abbreviation: A <SHIFT+T>

TYPE: Function-Numeric
FORMAT: ATN(<number>)

Action: This mathematical function returns the arc tangent of the number. The result is the angle (in radians) whose tangent is the number given. The result is always in the range -pi/2 to +pi/2.

EXAMPLES of ATN Function:

10 PRINT ATN(0)
20 X = ATN(J)*180/ {pi} : REM CONVERT TO DEGREES


Commodore Cheetah made by Allen Monks, started in the year 2000.