arctan


Purpose
Get the arctangent of a value.
Synopsis
function arctan(r:real):real
Argument
Real number to which to apply the trigonometric function
Return value
Arctangent of the argument.
Example
The following functions compute the arcsine and arccosine of a value:
function arcsin(s:real):real
 returned:=arctan(s/sqrt(1-s^2))
end-function

function arccos(c:real):real
 returned:=arctan(sqrt(1-c^2)/c)
end-function
Related topics
cos, sin


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.