Table of Contents

sin

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Return sine of a radian angle

Description

float sin ( number $radian_angle )

Parameter

$radian_angle: Angle in radians

Return Values

Float: Sine of angle

Examples

<?
  $pi=3.14159;
  print(sin($pi/2)); // result is 1
  print(sin($pi));   // result is 0
?>

See Also

cos() - Return cosine of a radian angle