On this page
math.cosh
Prev: math.cos | Up: math | Next: math.degrees
Rel: math.acos, math.acosh, math.asin, math.asinh
Ref: docs.python.org — math.cosh
Tags: #public #python3 #stdlib #math
Import
import math
from math import cosh
Signature & Overview
math.cosh(x, /)
Return the hyperbolic cosine of x.
Usage
import math
assert math.isclose(math.cosh(0.0), 1.0)
Gotchas
- Overflows for large
|x|(> ~710): RaisesOverflowErroron float overflow.
REPL Inspect
from math import cosh
help(cosh)
Linked from
Related notes
- tuts/python3/stdlib_module/math/cos Linked here; links to this page; shared tags: #math, #stdlib
- tuts/python3/stdlib_module/math/degrees Linked here; links to this page; shared tags: #math, #stdlib
- tuts/python3/stdlib_module/math Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/math/acos Linked here; shared tags: #math, #stdlib
- tuts/python3/stdlib_module/math/acosh Linked here; shared tags: #math, #stdlib
- tuts/python3/stdlib_module/math/asin Linked here; shared tags: #math, #stdlib
- tuts/python3/stdlib_module/math/asinh Linked here; shared tags: #math, #stdlib
- tuts/c/stdlib/math shared tags: #math, #stdlib
- tuts/c/stdlib/math/fabs shared tags: #math, #stdlib
- tuts/c/stdlib/math/floor shared tags: #math, #stdlib