Efficient Series Computation for cosh(1.822) | Cosh^1.822 Homework Solution

  • Thread starter Thread starter lewisbedwell
  • Start date Start date
  • Tags Tags
    Series
Click For Summary

Homework Help Overview

The discussion revolves around the computation of cosh(1.822) using an appropriate series expansion. The original poster attempts to apply the series for hyperbolic cosine but encounters discrepancies between their calculated value and that from a calculator.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the number of terms used in the series expansion and whether extending the series further would yield more accurate results. There is also mention of comparing iterations to the calculator's output to check for consistency.

Discussion Status

Some participants have offered guidance on how to approach the problem, including suggestions to compare iterations and consider error estimation using Taylor's theorem. The discussion reflects a collaborative effort to refine the original poster's approach without reaching a definitive conclusion.

Contextual Notes

The original poster's calculations yield a result of 3.11, which differs from the calculator's 3.17, prompting questions about the adequacy of the number of terms used in the series.

lewisbedwell
Messages
7
Reaction score
0

Homework Statement


Use an appropriate series to compute the value of cosh(1.822)


Homework Equations


coshx=e^x/2+e^(-x)/2


The Attempt at a Solution



I follow the series 1+x+x^2/(2! )…. etc and 1-x+x^2/(2! )…. then add the answers together and divide by 2. However the answers I am coming out at is 3.11 rather than 3.17 which i get on the calculator.
Thanks so much in advance.
 
Physics news on Phys.org
how many terms have you extended it to?
 
I've gone to 14 so far. Do I just need to keep going further? Thanks a lot for replying
 
well you could compare your iterations and see if they are approaching the calculator answer and that would give you confidence that you didn't make a mistake.

you could write a program in python or whatever language you're comfortable in and show each iteration and compare to what you've done.

Calculators will go many iterations to get a result. They do it so fast its had to imagine how many they did in the short time it took. They may also use some sort of shortcut to get the result like interpolation from stored tables of values...
 
  • Like
Likes   Reactions: 1 person
You can use the series
[tex]\cosh x=\sum_{k=0}^{\infty} \frac{x^{2k}}{(2k)!},[/tex]
which follows from your ansatz.

Of course, you can only calculate a finite partial series. You can estimate the error made by using Taylor's theorem which says
[tex]\cosh x=\sum_{k=0}^{n} \frac{x^{2k}}{(2k)!}+\frac{1}{(2n+1)!}\sinh \xi x^{2n+1},[/tex]
where [itex]\xi[/itex] is between [itex]0[/itex] and [itex]x[/itex]. We can thus estimate the error made, when just stopping at [itex]=k=2n[/itex] by
[tex]\left | \frac{1}{(2n+1)!} \sinh \xi x^{2n+1} \right | \leq \left |\frac{1}{(2n+1)!} \sinh x x^{2n+1} \right|.[/tex]
 
  • Like
Likes   Reactions: 1 person
Thanks so much to both of you, I think with what both of you have said I should be fine to get a decent report out of it! Thanks!
 

Similar threads

Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K