Taylor Series for Cosine and Accuracy of Calculating Cosine 2

Click For Summary

Homework Help Overview

The original poster is investigating how many terms of the Taylor series for the cosine function, centered at c = 0, are necessary to achieve an accuracy of 1/10000 when calculating cosine of 2.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the remainder term of the Taylor series and its relationship to the desired accuracy. There are inquiries about calculating the left-hand side of an inequality involving factorials and powers of 2 to determine the necessary number of terms.

Discussion Status

Some participants have offered guidance on how to approach the problem by suggesting calculations for various values of n to find when the inequality holds. There appears to be a mix of understanding regarding the calculations required, with some expressing concern about the feasibility of performing these calculations without a calculator.

Contextual Notes

Participants mention constraints related to exam conditions, specifically the prohibition of calculators, which may affect how they approach the problem.

stukbv
Messages
112
Reaction score
0

Homework Statement


How many terms of the taylor series of the cosine function about c = 0 are needed to calculate cosine 2 to an accuracy of 1 / 10000




The Attempt at a Solution


I have said that |Rn(2)| = |cosn+1(a) 2n+1/(n+1)!|<2n+1/(n+1!)

Now i can't do it ...
 
Physics news on Phys.org
Hi stukbv! :smile:

You have correctly calculated that the remainder must be smaller than [itex]\frac{2^{n+1}}{(n+1)!}[/itex]

Now, the only thing you need to do is to see when

[tex]\frac{2^{n+1}}{(n+1)!}\leq \frac{1}{10000}[/tex]

Perhaps calculate the left hand side for some values of n and see when the inequality occurs. Thus, calculate the left-hand side for n=1,2,3,...
 
Wouldnt I need a calculator to do this - I am not allowed those in my exams...
 
No, you don't. It may help to rewrite the inequality as

[tex]2^{n+1}\le \frac{(n+1)!}{10000}[/tex]
 
Sorry if I am being simple but I still don't see how this is meant to be a quick calculation like my exams seem to be implying?? Is there are link I am missing?
 
As micromass said, just try increasing values of n until you find one for which the inequality holds. Your instructor probably assumes you have some familiarity with the first handful of powers of 2 and factorials. If not, it's not like it very long to calculate them.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
3K
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
20K
  • · Replies 10 ·
Replies
10
Views
2K