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: Apr 18, 2008 - 2:00pm (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki