YoYo Games Wiki

arccos(x)

From YoYoGames Wiki

Description

This function returns the inverse cosine of an angle in radians.

Arguments

  • x (real): angle in radians

Returns

  • (real): inverse cosine of angle x

Explanation

If you prefer working with degrees, you can convert degrees to radians by using the function degtorad(x) and then enter this as an argument.

Arccos (also known as inverse cosine or cos-1) is a function where if cos(x)=n then x=arccos(n).

See Also