| System Functions |
|
| Format | ATN(num[,ERR=stmtref]) Where: |
||
| num | Numeric expression whose Arc-Tangent is to be returned. | ||
| stmtref | Program line number or statement label to which to transfer control. | ||
| Returns | Numeric value, range -ð/2 to +ð/2. | ||
| Description | The ATN( ) function returns the Arc-Tangent of the numeric expression num. It will return a value between -ð (negative pi) divided by 2 and ð divided by 2, rounded to the current PRECISION in effect. This is the inverse of the TAN( ) function. | ||
| Examples | 0060 FOR I=-10 TO 10 STEP 1 0070 PRINT ATN(I), 0080 NEXT 0090 PRINT " DONE" 0100 END -:RUN -1.47-1.46-1.45-1.43-1.41-1.37-1.33-1.25-1.11-0.79 0 0.79 1.11 1.25 1.33 |
||
| 1.37 1.41 1.43 1.45 1.46 1.47 DONE | |||