Trigonometric functions: Difference between revisions

Content added Content deleted
(→‎{{header|AWK}}: Show how to use atan2() to calculate arcsine and arccosine.)
m (→‎{{header|AWK}}: Typo in comment.)
Line 168:
}
 
# acos(yx) = arccosine of x, domain [-1, 1], range [0, pi]
function acos(x) {
return atan2(sqrt(1 - x * x), x)