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"