1. Math
  2. Advanced Math
  3. please show me the correct answer for full step...

Question: please show me the correct answer for full step...

Question details

Problem 4 (25 points) The hyperbolic cosine of the argument x given in radians can be calculated by the series 2 6 a) Write a Matlab function myCosh that takes as input x and the number of terms N to use to estimate cosh (x), ie 2n (2n)! m-1 and returns the estimate for cosh(x) together with the corresponding true relative error. You may use the Matlab function factorial) to calculate the factorial in the formula. For the true value of cosh(x) use Matlabs build-in function cosh(x). Do not print out any results to screen or do any plotting within the functiorn b) Use the function to calculate the estimate for cosh(20) and the true relative error for i)N-5, ii) N-20, iii) N=30 c) In a semilogarithmic plot (use semilogy )), plot the absolute of the relative error vs. N for N-1...40 d) Explain why the absolute of the relative error does not decrease for N > 32 Problem 4 required submission. » Softcopy printout of well commented function you coded included in your Gradescope submission . Softcopy printout of the results of calling your function forb)i)- iii) using format long · Annotated semilogarithmic plot of absolute relative error us. N for N = 1…40 · Rapla nation why the absolute of the relative emor does not decrease for N > 32 . Upload of your Matlab functions and scripts to the Homework 1 link on Canvasplease show me the correct answer for full step

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution