sinh()
yash.ladekar7 total contributions
Published Oct 8, 2022Updated Jun 20, 2023
Contribute to Docs
The sinh()
function returns the hyperbolic sine of an argument given in radians.
Syntax
sinh(angle)
The angle
parameter should be expressed in radians. To convert from degrees to radians:
radians = degrees * PI / 180
Example
The following example uses sinh()
to return the hyperbolic sine of 0.0
in radians:
#include <iostream>#include <cmath>int main() {double x = 0.0;double result;result = std::sinh(x);std::cout << "The hyperbolic sine of " << x << " radians is " << result << "\n";// Output: The hyperbolic sine of 0 radians is 0}
Codebyte Example
The following code example returns the hyperbolic sine of a given number using the sinh
function.
All contributors
- yash.ladekar7 total contributions
- Christine_Yang271 total contributions
- garanews222 total contributions
- Anonymous contributorAnonymous contributor2 total contributions
- yash.ladekar
- Christine_Yang
- garanews
- Anonymous contributor
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.