The ATAN function returns the arc tangent of an expression a. The range of ATAN is [-

/2,

/2] (that is, -

/2 < ATAN(a)<

/2).
Format
ATAN(a)
Arguments
a | Any valid function expression. Number of arguments: 1 |
Examples
SFORCE/1, ROTATIONAL, I=21, J=11
, FUNCTION=-10*ATAN(DY(42,33)/DX(42,33))
This SFORCE statement defines a torque acting between Markers 21 and 11. The value of the torque is the spring constant (10) multiplied by the angle between the line joining Markers 33 and 42 and the global x-axis as shown in the figure below.
Example Illustrating the Use of the ATAN Function
See other
FORTRAN 77 available.