ex12.pp 178 B

123456789101112
  1. Program Example12;
  2. { Program to demonstrate the Cos function. }
  3. Var R : Real;
  4. begin
  5. R:=Cos(Pi); { R:=-1 }
  6. R:=Cos(Pi/2); { R:=0 }
  7. R:=Cos(0); { R:=1 }
  8. end.