acos(f )

Returns the arc cosine of f

Returns the principal value of the arc cosine of f, expressed in radians. A runtime error is raised if f lies outside the range [-1, 1].

Parameters

f: floating point value

Return Value

the arc cosine of f.

Example command: acos(0.707)

  • Example Parameters:
    • f is the cos of 45 deg. (.785 rad)
      • Returns .785