Approximating sinh through taylor's series

  • Thread starter jakey
  • Start date
  • #1
jakey
51
0
Hi guys,

I want to approximate sinh(3391014490) using taylor's series as i don't know of a way to compute this in c++ (Even NTL can't handle this much).

How could I compute the number of terms I need to sum so that the error is within 10^-10?

Any suggestions? thanks!
 

Answers and Replies

  • #2
AlephZero
Science Advisor
Homework Helper
7,002
297
sinh x = (e^x - e^-x)/2

So for x >> 1

sinh x is approximately (e^x)/2

sinh(3391014490) will have about 3391014490 x log_10(e) decimal digits
which is more than 10^9 digits. Are you sure you want to calculate this to 10 decimal places???
 

Suggested for: Approximating sinh through taylor's series

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
12
Views
1K
  • Last Post
Replies
7
Views
9K
  • Last Post
Replies
6
Views
1K
Replies
1
Views
5K
Replies
4
Views
7K
  • Last Post
Replies
2
Views
33K
  • Last Post
Replies
1
Views
691
Replies
2
Views
2K
  • Last Post
Replies
5
Views
1K
Top