Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > cmathライブラリ > CMathモジュール > sin
sin(z) -> Float | Complex
z の正弦関数の値を返します。