Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

cos

(PHP 3, PHP 4 , PHP 5)

cos -- Cosine

Description

float cos ( float arg)

cos() returns the cosine of the arg parameter. The arg parameter is in radians.

Eksempel 1. cos() example

<?php

echo cos(M_PI); // -1

?>

See also: acos(), sin(), tan(), and deg2rad().

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Manualen". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.