sin()

Deprecated in 5.0.

Please use Math::Sin instead.

sin(x): float

Calculates sine from given angle in radians.

Table 1. Parameters

x

Float

Angle in radian

Return

Result of sine for this angle

print(sin(0.5)); //will print 0.479426