acot

acot(x)

Compute the inverse cotangent of x, where the output is in radians

Examples

julia> acot(1)
0.7853981633974483

julia> acot(0)
1.5707963267948966

julia> acot(-1)
2.356194490192345

julia> acot(2)
0.4636476090008061

This function computes the inverse cotangent of a given input x and returns the result in radians. Here are some common examples:

  1. Compute inverse cotangent of 1:

    julia> acot(1)
    0.7853981633974483

    The inverse cotangent of 1 is approximately 0.7853981633974483 radians.

  2. Compute inverse cotangent of 0:

    julia> acot(0)
    1.5707963267948966

    The inverse cotangent of 0 is approximately 1.5707963267948966 radians.

  3. Compute inverse cotangent of -1:

    julia> acot(-1)
    2.356194490192345

    The inverse cotangent of -1 is approximately 2.356194490192345 radians.

  4. Compute inverse cotangent of 2:
    julia> acot(2)
    0.4636476090008061

    The inverse cotangent of 2 is approximately 0.4636476090008061 radians.

Note: The output values are rounded for brevity in the examples above.

See Also

acos, acosd, acosh, acot, acotd, acoth, acsc, acscd, acsch, asec, asecd, asech, asin, asind, asinh, atan, atan2, atand, atanh, cos, cosc, cosd, cosh, cospi, cot, cotd, coth, csc, cscd, csch, deg2rad, rad2deg, sin, sinc, sind, sinh, sinpi, tan, tand, tanh,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: