(PHP 4, PHP 5)
sin — Ημίτονο
Η sin() επιστρέφει το ημίτονο της arg . Η arg είναι σε rad.
<?php // Precision depends on your precision directive print sin(deg2rad(60)); // 0.866025403 ... print sin(60); // -0.304810621 ... ?>
Ανατρέξτε επίσης στις: asin(), cos(), tan() και deg2rad().