Approximating sinh through taylor's series

  • Context: Graduate 
  • Thread starter Thread starter jakey
  • Start date Start date
  • Tags Tags
    Series
Click For Summary
SUMMARY

The forum discussion focuses on approximating the hyperbolic sine function, sinh(3391014490), using Taylor's series. The user seeks guidance on determining the number of terms required to achieve an error margin within 10^-10. It is established that for large values of x, sinh(x) can be approximated by (e^x)/2. The discussion highlights that sinh(3391014490) will yield approximately 3391014490 x log_10(e) decimal digits, significantly exceeding 10^9 digits, raising concerns about the feasibility of calculating this to just 10 decimal places.

PREREQUISITES
  • Understanding of Taylor series expansion
  • Familiarity with hyperbolic functions
  • Knowledge of exponential functions and their properties
  • Basic proficiency in C++ programming
NEXT STEPS
  • Research the convergence criteria for Taylor series
  • Learn about numerical methods for approximating large exponential values
  • Explore libraries in C++ for handling arbitrary precision arithmetic
  • Investigate alternative methods for computing hyperbolic functions for large inputs
USEFUL FOR

Mathematicians, computer scientists, and software developers interested in numerical analysis and high-precision calculations, particularly those working with large values in C++.

jakey
Messages
51
Reaction score
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!
 
Physics news on Phys.org
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?
 

Similar threads

Replies
23
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K