-
Notifications
You must be signed in to change notification settings - Fork 1
Cos
ricardoboss edited this page Sep 13, 2023
·
1 revision
cos
is a function that returns the cosine of a number.
cos(number x)
-
x
is the number to calculate the cosine of.
cos(0) // 1
cos(1) // 0.5403023058681398
cos(pi) // -1
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!