Returns the tangent of the specified floating point angle value
Class: Mathematical
Parameters: @d – An angle measured in radians
Syntax: @returnValue=@tan(@d)
Returns: The tangent of @d
Remarks: Multiply the return value by n/180 to convert from degrees to radians
Example:
//Example for the mathematical @tan method
@d=0.456 //Set angle value
@result=@tan(@d) //Calculate result (= 0.490477)
message(“Tangent of Angle “ + @d + “ (in radians) is “ + @result) //Display results message