ex10.pp 205 B

12345678910
  1. Program Example10;
  2. { Program to demonstrate the cycletorad function. }
  3. Uses math;
  4. begin
  5. writeln(cos(cycletorad(1/6))); // Should print 1/2
  6. writeln(cos(cycletorad(1/8))); // should be sqrt(2)/2
  7. end.