Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 320 Bytes

File metadata and controls

20 lines (16 loc) · 320 Bytes

Math::Cos

Math::Cos(x): float

Calculates cosine from given angle in radians.

Table 1. Parameters

x

number

Angle in radians

Return

Result of cosine for this angle

print(Math::Cos(0.5)); // Will print "0.877583"