C#NumberMath.Tan

Returns the tangent of the specified angle.

문법

Math.Tan(a)

예제

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

Console
WriteLine
Math
Console.WriteLine(Math.Tan(0));                // 0
Console.WriteLine(Math.Tan(Math.PI / 4));      // 1