Returns the angle whose tangent is the specified floating point number
Class: Mathematical
Parameters: @d – A number representing a cosine where -1 ≤@d≤ 1
Syntax: @returnValue=@atan(@d)
Returns: An angle, Θ, measured in radians
Remarks: Multiply the return value by 180/∏ to convert from radians to degrees
Example:
//Example for the mathematical @atan method
@d=0.456 //Set tan value
@result_rad=@atan(@d) //Calculate result in radians (= 0.427832)
@result_deg=@result_rad*(180/@pi()) //Convert radians to degrees (= 24.513)
message(“Angle in radians is “ + @result_rad + “ and in degrees is “ + @result_deg) //Display results message