downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sinh> <round
Last updated: Fri, 13 Nov 2009

view this page in

sin

(PHP 4, PHP 5)

sin正弦(サイン)

説明

float sin ( float $arg )

sin() は、arg のサインを 返します。arg はラジアンです。

パラメータ

arg

ラジアンで表した値。

返り値

arg のサインを返します。

例1 sin() の例

<?php

// 結果の精度は、指定によります。
echo sin(deg2rad(60));  //  0.866025403 ...
echo sin(60);           // -0.304810621 ...

?>

参考

  • asin() - 逆正弦(アークサイン)
  • sinh() - 双曲線正弦(ハイパボリックサイン)
  • cos() - 余弦(コサイン)
  • tan() - 正接(タンジェント)
  • deg2rad() - 度単位の数値をラジアン単位に変換する



add a note add a note User Contributed Notes
sin
There are no user contributed notes for this page.

sinh> <round
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites