C Standard Libraries C++

sinh()

Declaration

double sinh(double dX);

Description

This function returns the hyperbolic sine of the passed-in argument.

Overloads

float sinh(float);
double sinh(double);
long double sinh(long double);

Related Functions

float sinhf(float);
long double sinhl(long double);

* Note: Since C does not allow function overloading, these other versions of this function exist.

Domain

(-∞, ∞)

Range

(-∞, ∞)

Periodicity

None

Symmetry

Origin

Asymptotes

None





Example

#include <iostream>
#include <cmath>

int main() {
    using namespace std;

    double dX = -10.0;
    cout << "x = " << dX << "  sinh(x) = " << sinh(dX) << endl;

    dX = 1.8;
    cout << "x = " << dX << "  sinh(x) = " << sinh(dX) << endl;

    return 0;
}

Output

sinh() Output
 

© 2007–2024 XoaX.net LLC. All rights reserved.