Quote:
Originally Posted by Acemanhattan
So I dug around a bit and see that that is the maclaurin expansion of Cosine evaluated at sqrt(pi)/2. Is that the whole name of the game in one of these series/sequence early calc courses? We just learn to recognize known series and manipulate the given series until it takes one of the known forms?
Edit: By the looks of the rest of the chapter there seems to be a bit more going on than just that.
cos[sqrt(pi)/3]. And no, you will learn how to represent functions as a Taylor series which is very important. The Maclaurin series is a special case of Taylor series. It is a power series in x^n, and each term is the nth derivative of f(x) evaluated at 0, divided by n!, times x^n. The first term uses the zeroth derivative or just f(0).
f(x) = f(0)/0! * x^0 + f'(0)/1! *x^1 + f''(0)/2! * x^2 + f'''(0)/3! * x^3 + ...
= f(0) + f'(0) * x + f''(0)/2! * x^2 + f'''(0)/3! * x^3 + ...
There's also an error term so that you know how close it is to f(x) after so many terms. The Taylor series is more general in that you have powers of (x-a), and you evaluate the derivatives at a. You had a Maclaurin series for cos[sqrt(pi)/3)]. For the cosine, the odd terms are zero because the derivatives all give sin(0) or -sin(0) = 0, but the even terms (starting from 0) are either cos(0) or -cos(0), hence the (-1)^n. Since the odd terms are zero, we have only even powers 2n and even values of the factorial (2n)!. Since you had pi^n/3^(2n), this was actually [sqrt(3)/3]^(2n), so x = sqrt(3)/3.
You can use this as a method of computing pi. Do a MacLaurin series for 4*arctan(x) and evaluate it at x=1. You get
pi = 4*(1 - 1/3 + 1/5 - 1/7 + ...)
It converges very slowly, so it's not a good way to compute pi.
1000 terms: 3.13959
10000 terms: 3.141393
100000 terms: 3.141573
1 million terms: 3.141591
exact: 3.141592653589793.....
There are much faster methods based on the arctan.
Last edited by BruceZ; 05-20-2013 at 01:58 AM.