C#NumberMath.Sin

Returns the sine of the specified angle.

문법

Math.Sin(a)

예제

아래 값을 입력하면 예제에 즉시 반영됩니다.

Console
WriteLine
Math
Console.WriteLine(Math.Sin(0));                // 0
Console.WriteLine(Math.Sin(Math.PI / 2));      // 1