ALL WEB free atan() php. Sezione funzioni Numeriche php. atan()
ALLWEB free
Web Directory Script Linguaggi
Italiano Inglese Tutte
 
 25 May 2013
rss directory aggiungi in preferiti  
Home    Mappa directory    Giochi    XXXDirectory    Script    Forum

Sito ufficiale php

FUNZIONI PHP


 



atan()

Questa funzione restituisce l'arcotangente di un numero.

Sintassi:
atan(x)


Esempio:
Inserisci un numero (ad esempio 1,2) e calcola l'arcotangente.



Codice esempio:
<form action="#" method="get">
<input type="text" name="funz" size="4" maxlength="10">
<input type="submit" value="Calcola">
</form>
<br>
<?
$funz=$_GET['funz'];
$funz2=atan($funz);
echo"L'arcotangente di ".$funz." è ".$funz2;
?>