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

 
 

 

sin

(PHP 3, PHP 4 , PHP 5)

sin -- Seno

Descrizione

float sin ( float arg)

La funzione sin() restituisce il seno di arg. Il parametro arg viene espresso in radianti.

<?php

// La precisione dipende dalle direttive di precisione
echo sin(deg2rad(60));  //  0.866025403 ...
echo sin(60);           // -0.304810621 ...

?>

Vedere anche asin(), cos(), tan() e deg2rad().

 
 
 
 
Google
  Web Linuxinfor   
 

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

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

1999-2009 Linuxinfor.com. No rights reserved.