Java Math.cosh() methodThe java.lang.Math.cosh() is used to return the hyperbolic cosine of a value. The hyperbolic cosine of any value x can be defined as (ex + e -x)/2, where e is an Euler's number. SyntaxParameterReturn
Example 1Test it NowOutput: 5.710036949078421E25 Example 2Test it NowOutput: 1.0 Example 3Test it NowOutput: Infinity Example 4Test it NowOutput: NaN Next TopicJava Math |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India