Table of Contents

Syntax

float acos(float $val)

(PHP 4, PHP 5)

$val Value to compute the arc cosine for.
RETURNS Computes the trigonometry function arc cosine for the degree in radians ($val).

What it Does

This function computes the arc cosine for the argument $val which is the degree in radians.

Example

// compute the arc cosine for 1.4 radians
echo 'acos(1.4) = ' . acos(1.4);
 
acos.txt · Last modified: 2008/04/18 14:00 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki