The hyperbolic cosine of the argument given in radians can be calculated by the series...
70.2K
Verified Solution
Link Copied!
Question
Basic Math
The hyperbolic cosine of the argument given in radians can be calculated by the series cosh z 1 n 1 2n T 2n P 1 cosh r 1 N 2 n 1 I I 6 a Write a Matlab function myCosh that takes as input r and the number of terms N to use to estimate cosh z i c 7 2n 2n 1 2 and returns the estimate for cosh r 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 r use Matlab s build in function cosh x Do not print out any results to screen or do any plotting within the function b Calculate and report with at least 15 digits 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 true relative error vs N for N 1 40 d Explain why the absolute of the true relative error does not decrease for N 32
Answer & Explanation
Solved by verified expert
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
Unlimited Question Access with detailed Answers
Zin AI - 3 Million Words
10 Dall-E 3 Images
20 Plot Generations
Conversation with Dialogue Memory
No Ads, Ever!
Access to Our Best AI Platform: Zin AI - Your personal assistant for all your inquiries!