[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Convert cycle angle to radians angle
Source position: math.pp line 282
function cycletorad( |
cycle: Float |
):Float; |
Cycletorad transforms it's argument cycle (an angle expressed in cycles) to radians. (1 cycle is $2 \pi$ radians).
None.
|
Convert degree angle to grads angle |
|
|
Convert degree angle to radians angle. |
|
|
Convert radians angle to degrees angle |
|
|
Convert radians angle to grads angle |
|
|
Convert radians angle to cycle angle |
Program Example10; { Program to demonstrate the cycletorad function. } Uses math; begin writeln(cos(cycletorad(1/6))); // Should print 1/2 writeln(cos(cycletorad(1/8))); // should be sqrt(2)/2 end.