sin()

[Trigonometry]

説明

Calculates the sine of an angle (in radians). The result will be between -1.0 and 1.0.

構文

sin(rad)

媒介変数

rad: the angle in radians (double)

戻り値

the sine of the angle (double)

参照


Language Reference Home

86Duinoリファレンスのテキストは、Arduinoリファレンスを改変したもので、Creative Commons Attribution-ShareAlike 3.0ライセンスに基づいてライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

上部へスクロール