Chapter 2: Problem 13
Hyperbolic cosine. The hyperbolic cosine function is defined by the equation $$ \cosh x=\frac{e^{x}+e^{-x}}{2} $$ Write a program to calculate the hyperbolic cosine of a user-supplied value \(x\). Use the program to calculate the hyperbolic cosine of \(3.0\). Compare the answer that your program produces to the answer produced by the MATLAB intrinsic function cosh \((x)\). Also, use MATLAB to plot the function \(\cosh (x)\). What is the smallest value that this function can have? At what value of \(x\) does it occur?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.