Welcome to the FORTRAN Version of Adams/Solver > Adams/Solver (FORTRAN) Functions > ATAN

www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index


Your Ad Here

ATAN
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
 
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
 
Your Ad Here