Lua
C++
Edit

Cos

This function returns the cosine of the specified angle.

Syntax

Returns

Returns the cosine of the specified angle.

Example

angle = 65

Print("Sin: " .. sin(angle))
Print("Cos: " .. cos(angle))
Print("Tan: " .. tan(angle))
Copyright © 2024 Ultra Software.
All rights reserved.