Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/tanh

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

tanh #include <cmath> double tanh( double arg ); /*example*/ #include <stdio.h> #include <math.h> int main (){ double c, p; c = log(2.0); p = tanh (c); printf ("The hyperbolic tangent of %lf is %lf.\n", c, p ); return 0; } The function tanh() returns the hyperbolic tangent of arg. Related topics acos - asin - atan - atan2 - cos - cosh - sin - sinh - tan