sin

sin(): Real;

The sin method of the Real primitive type returns the sine of the receiver. The receiver value represents an angle in degrees, and the resulting value is always in the range -1 through 1.

The following example shows the use of the sin method.

vars
    realValue : Real;
begin
    realValue := 340.5;                 // Defines the variable value
    write realValue.sin;                // Outputs -0.333806859233771
end;