sin()

[Trigonometry]

説明

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

Syntax

sin(rad)

Parameters

rad: the angle in radians (double)

Returns

the sine of the angle (double)

See also


Language Reference Home

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

コメントする

上部へスクロール