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

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.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2012년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by