Metoda Python math.asinh().
Příklad
Vraťte inverzní hyperbolický sinus různých čísel:
# Import math Library
import math
# Return the inverse hyperbolic
sine of numbers
print(math.asinh(7))
print(math.asinh(56))
print(math.asinh(2.45))
print(math.asinh(1))
Definice a použití
Metoda math.asinh()
vrací inverzní hyperbolický sinus čísla.
Syntax
math.asinh(x)
Hodnoty parametrů
Parameter | Description |
---|---|
x | Required. A positive or negative number. If x is not a number, it returns a TypeError |
Technické údaje
Návratová hodnota: | Hodnota float představující inverzní hyperbolický sinus čísla |
---|---|
Verze Pythonu: | 2.6 |