Purpose
 
 Get the cosine
 
 of a value.
 
  Synopsis
 
 function cos(r:real):real
 
  Argument
 
 
  
   | 
     r 
     | 
     Real number to which to apply the trigonometric function
     | 
 
  Return value
 
 Cosine value of the argument.
  Example
 
 The function tangent can be implemented as follows:
 
 function tangent(x:real):real
 returned:=sin(x)/cos(x)
end-function
 
  Related topics