JavaScript Math cosh() methodThe JavaScript math cosh() method returns the hyperbolic cosine of the given number. SyntaxThe cosh() method is represented by the following syntax: Parameternum - A number. ReturnThe hyperbolic cosine of a number. JavaScript Math cosh() method exampleHere, we will understand cosh() method through various examples. Example 1Let's see a simple example of cosh() method. Test it NowOutput: 1.5430806348152437 1 1.1276259652063807 3.7621956910836314 Example 2Here, you can test cosh() method with your own test cases. Test it Now
Next TopicJavaScript Math
|