Question: The hyperbolic cosine function can be evaluated by the following infinite series as y cosh y=1+- 4 + 2! 4! + y6 1,6 6!

The hyperbolic cosine function can be evaluated by the following infinite series as y cosh y=1+- 4 + 2! 4! + y6 1,6 6! supe ed Create a function M-file mycosh that takes y as the input and returns cosh y with an absolute iterative error less than 1.0e-14. This function must be able to plot a graph of truncation error versus the order of expansion. Assume that the Matlab built-in function cosh () returns the exact value. Note that the odd order expansion terms are zero in the above expansion. Test your function with y = 1.5. wx ya st
Step by Step Solution
3.38 Rating (154 Votes )
There are 3 Steps involved in it
Here is the Mfile code for the function mycosh matlab function re... View full answer
Get step-by-step solutions from verified subject matter experts
