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?

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

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.

Asked:

on 23 Jul 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!