[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
function Cos (x: Real): Real; |
function Cos (z: Complex): Complex; |
`Cos' returns the cosine of the argument. The result is in the range `-1 < Cos (x) < 1' for real arguments.
The function `Cos' is defined in ISO-7185 Pascal; its application to complex values is defined in ISO-10206 Extended Pascal.
program CosDemo; begin WriteLn (Cos (SqRt (2) / 2) : 0 : 5) { yields 0.5 since Cos (SqRt (2) / 2) = 0.5 } end. |
section 9.12 ArcTan, section 9.255 Sin, section 9.135 Ln, section 9.13 Arg.