Cos
The cosine of x, in radians.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
Sine and cosineMathWorldCosineWikidataQ13647261DLMF4.14.E2FungrimCos✓Fungrim entryWolfram LanguageCos!Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | quantity) -> number | analyticreplaces compute-engine | always |
(complex | quantity) -> number | compute-engine | always |
Examples
7 more kept as data, checked against the oraclesScope #
has 101 digits; the exact argument is still reduced modulo before Cos sees it, not rounded to working precision first
live ↗InOut
Known value · Wolfram 15.0.0 Cos
live ↗
InOut
live ↗
InOut
Properties #
Possible issues #
Cos(ComplexInfinity) is Indeterminate, for the same unbounded growth off the real axis as Sin
live ↗Known value · DLMF 4.28.9
Neat examples #
About
| Examples | 75 |
|---|---|
| Checked against | Wolfram Language 66 agree9 differSageMath 57 agree1 differ3 errorSymPy 54 agree3 differmpmath 37 agree2 differOscar 16 agreeJulia 39 agree1 errorRust 24 agree10 differ1 error |
| Crosswalk | WikipediaMathWorldWikidataDLMFFungrimFungrim entry ×59Wolfram LanguageSageMathSymPympmathOscarJuliaRust |
Implementation
mapped
oscarpackages/oracle/src/mappings.tsmapped
wolframpackages/oracle/src/mappings.tsmapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.ts