Taylor's Theorem Approximation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 4K views
Rosey24
Messages
12
Reaction score
0

Homework Statement



I need to use Taylor's thm to get an approximation to sqrt(5) with an error of no more than 2^(-9) and am totally lost.


Homework Equations



Taylor's theorem: Rn(x) = f(n)(y)/n! *x^n -- where f(n) is the nth derivative of f and Rn is R sub n.


The Attempt at a Solution

 
Physics news on Phys.org
Are you sure you need Taylor's theorem?

The most common way to obtain the square root of y is through the iteration

x(n+1)=(1/2)*(x(n)+y/(x(n)))
 
Last edited:
Oh- ok, I can guess.

You're probably after expanding

(x+4)^1/2

The first few terms are 2+1/4-1/64+1/512+... (check!)

There's probably a general pattern you can work out.
 
Rosey24 said:
Taylor's theorem: Rn(x) = f(n)(y)/n! *x^n -- where f(n) is the nth derivative of f and Rn is R sub n.

It may be easier in this form:

The Taylor Series, If it exists, of a function centered about the x coordinate a is given by: [tex]\sum_{n=0}^{\infty} \frac{ f^n (x-a)^n}{n!}[/tex].

So in this let a=4, and also try and find a general pattern for the derivatives.

We centered around 4 because the square root of that is just 2, and also because if we were to get more accurate by centering around 5, the derivatives would contain sqrt 5, which we are trying to find.