1. Home
  2. Computing & Technology
  3. PHP / MySQL

"Sin () PHP Function"

By Angela Bradley, About.com

Definition: The Sin () function is a mathematical function used to calculate the sine of a given number. The result is returned in radians. It is phrased as: Sin (your_number) ;

Also Known As: Sine, Sin

Examples:

<?php
echo sin(60) ;
?>
This returns a value of -0.304810621

Explore PHP / MySQL

More from About.com

  1. Home
  2. Computing & Technology
  3. PHP / MySQL
  4. PHP Functions
  5. PHP Sin - PHP Sine - Sin Function

©2008 About.com, a part of The New York Times Company.

All rights reserved.