[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 9.255 Sin

### Synopsis

    function Sin (x: Real): Real;

or

    function Sin (z: Complex): Complex;

### Description

``Sin'` returns the sine of the argument. The result is in the range ``-1 <= Sin (x) <= 1'` for real arguments.

### Conforming to

The function ``Sin'` is defined in ISO-7185 Pascal; its application to complex values is defined in ISO-10206 Extended Pascal.

### Example

    program SinDemo;
    begin
      WriteLn (Sin (SqRt (2) / 2) : 0 : 5)
      { yields 0.5 since Sin (SqRt (2) /2) = 0.5 }
    end.

### See also

section 9.12 ArcTan, section 9.54 Cos, section 9.135 Ln, section 9.13 Arg.

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html