Arccot
Arccotangent, the inverse of Cot.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
Acot✓Fungrim entryc580f4✓Arccot(x)the value with .SageMath
arccot(x)SymPyacot(x)mpmathacot(x)Juliaenumeratio_ball(_acot, x)Rustatan(n(1) / x)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | quantity | signed_infinity) -> number | analyticreplaces compute-engine | always |
(complex | quantity | signed_infinity) -> number | compute-engine | always |
Details
- Stays symbolic even at values where the reciprocal circular functions fold exactly (e.g. ) -- wrap in N(...) for a numeric result.
- Differs from Wolfram: the range is , so ; Wolfram's
ArcCotranges over and gives .
Examples
1 more kept as data, checked against the oraclesBasic #
Possible issues #
About
| Examples | 13 |
|---|---|
| Checked against | Wolfram Language 11 agree2 differSageMath 9 agree3 differ1 unevaluatedSymPy 9 agree3 differ1 unevaluatedmpmath 8 agree3 differJulia 7 agree3 differ1 errorRust 6 agree3 differ1 error |
| Crosswalk | FungrimFungrim entrySageMathSymPympmathJuliaRust |
Implementation
mapped
sympypackages/oracle/src/mappings.tsSymPy's acot ranges over (-pi/2, pi/2], as Wolfram's ArcCot does; compute-engine's Arccot ranges over (0, pi).
mapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.tsatan of the reciprocal, the principal value off 0.