ee.Number.acos

Computes the arc cosine in radians of the input.

UsageReturns
Number.acos()Number
ArgumentTypeDetails
this: inputNumber

The input value.

Examples

JavaScript

print(ee.Number(-1).acos());  // [π]
print(ee.Number(0).acos());  // [π/2]
print(ee.Number(1).acos());  // [0]

Python

# Your example goes here!