w3resource

Oracle TANH() function

Description

This TANH() function returns the hyperbolic tangent of a given number.
The function takes any numeric or nonnumeric data type (can be implicitly converted to a numeric data type) as an argument.
If the argument is BINARY_FLOAT, then the function returns BINARY_DOUBLE. Otherwise, the function returns the same numeric data type as the argument

Uses of Oracle TANH() Function
  • Mathematical calculations: Compute the hyperbolic tangent of numbers in various mathematical applications.

  • Scientific research: Perform hyperbolic trigonometric calculations in scientific studies.

  • Engineering computations: Use the hyperbolic tangent function in engineering problems and simulations.

  • Data analysis: Analyze data sets that require hyperbolic transformations or calculations.

  • Graphing and plotting: Generate graphs and plots involving hyperbolic tangent values.

Syntax:

TAN(X)

Where X is a number

Pictorial Presentation of TANH() function

Pictorial Presentation of Oracle TANH() function

Example - 1

SELECT TANH(.6) "Hyperbolic tangent of .6" FROM dual;

Here is the result.

Hyperbolic tangent of .6
------------------------
              .537049567

The above statement will return the tangent of the given number .6

Previous: TAN
Next: TRUNC



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/oracle/oracle-numeric-functions/oracle-tanh-function.php