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 commentaire

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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by