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
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

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

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

All rights reserved.