ee.Number.sinh

Computes the hyperbolic sine of the input.

UsageReturns
Number.sinh()Number
ArgumentTypeDetails
this: inputNumberThe input value.

Examples

Code Editor (JavaScript)

// Input angle in radians.
print('Hyperbolic sine of -5', ee.Number(-5).sinh());  // -74.203210577
print('Hyperbolic sine of -1', ee.Number(-1).sinh());  // -1.175201193
print('Hyperbolic sine of 0', ee.Number(0).sinh());  // 0
print('Hyperbolic sine of 1', ee.Number(1).sinh());  // 1.175201193
print('Hyperbolic sine of 5', ee.Number(5).sinh());  // 74.203210577

// Convert degrees to radians.
var degrees = 45;
var radians = degrees * (Math.PI/180);
print('Hyperbolic sine of 45 degrees',
      ee.Number(radians).sinh());  // 0.868670961

Python setup

See the Python Environment page for information on the Python API and using geemap for interactive development.

import ee
import geemap.core as geemap

Colab (Python)

import math

# Input angle in radians.
print('Hyperbolic sine of -5:', ee.Number(-5).sinh().getInfo())  # -74.203210577
print('Hyperbolic sine of -1:', ee.Number(-1).sinh().getInfo())  # -1.175201193
print('Hyperbolic sine of 0:', ee.Number(0).sinh().getInfo())  # 0
print('Hyperbolic sine of 1:', ee.Number(1).sinh().getInfo())  # 1.175201193
print('Hyperbolic sine of 5:', ee.Number(5).sinh().getInfo())  # 74.203210577

# Convert degrees to radians.
degrees = 45
radians = degrees * (math.pi/180)
print('Hyperbolic sine of 45 degrees:',
      ee.Number(radians).sinh().getInfo())  # 0.868670961