Use sinh(x) = 0.5 (ex – e-x) to evaluate sinh(x) for x = logspace(-12,12,100). Plot the absolute and relative error obtained by using this formula instead of the built-in sinh function . What is the cause of error for small x?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Use sinh(x) = 0.5 (ex – e-x) to evaluate sinh(x) for x = logspace(-12,12,100). Plot the absolute and relative error obtained by using this formula instead of the built-in sinh function . What is the cause of error for small x?
1 Comment
Jan
on 23 Jul 2012
This question looks like you want us to solve your homework. I suggest to post, what you have tried so far and which problems occurred.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!