Seiki Batch Script > Mathematical Functions

@tanh

Returns the hyperbolic tangent of the specified floating point angle value

Class: Mathematical

Parameters: @d – An angle measured in radians

Syntax: @returnValue=@tanh(@d)

Returns: The hyperbolic tangent of @d

Remarks: Multiply the return value by n/180 to convert from degrees to radians

Example:

//Example for the mathematical @tanh method

@d=0.456 //Set angle value

@result=@tanh(@d) //Calculate result (= 0.426819)

message(“Hyperbolic Tangent of Angle “ + @d + “ (in radians) is “ + @result) //Display results message