On this page
  1. math.cosh
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

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

REPL Inspect

from math import cosh
help(cosh)

Linked from

Related notes