Seiki Batch Script > Mathematical Functions

@sin

Returns the sine of the specified floating point angle value

Class: Mathematical

Parameters: @d – An angle measured in radians

Syntax: @returnValue=@sin(@d)

Returns: The sine of @d

Remarks: None

Example:

//Example for the mathematical @sin method

@d=0.456 //Set angle value (in radians)

@result=@sin(@d) //Calculate result (= 0.44036)

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