McLaurin series problem?
Write a second degree polynomial equation of McLaurin for the function \[f(x)=e ^{-x}(cosx-senx)\]and determine if in the range I=(0,1/2) the McLaurin polynomial equation rounds up or down and define the error.
*define the error when you substitute f(x) in the final polynomial equation in the given range.
let f = ab f' = a'b + ab' f'' = a''b + a'b' + a'b' + ab'' = a''b + 2a'b' + ab'' a = e^-x a' = -e^-x a'' = e^-x b= .... etc
hmmm, im wondering if the error is the area between f(x) and M(x), integration
or is error, the amount of the remainder of the M(x) that is not worked out .... that seems more like it
wait a little bit
So I should put it like this? b= cosx-sinx, b'=-sinx-cosx and b''=-cosx+sinx
yes, that would be fine
By knowing this how do I proceed in order to find the error?
hopefully, there is a pattern that develops f(0) = ab = 1(1) = 1 f'(0) = a'b + ab' = -1(-1) + 1(1) = 2 f''(0) = a''b + 2a'b' + ab'' = 1(1)+ 2(-1)(-1) + 1(-1) = 1+2-1 = 2 1 + 2x +2x^2/2! if we knew a few more f's we might see a pattern develop
pfft, f' = 0, f''(0) = -2 those were a pain to keep track of so, 1 - x^2 seems to be the Mac for it
f(x) = 1 - x^2 + E, for some E that we did not compute f(x) - 1 + x^2 = E is the function of E that we get at best
let me see
further thought, it asks us to determine an interval x = 0 to 1/2 test the error function at x=1/2
Ok, but where did you take 1-x^2 from? Shouldn't it be sin(0)=0 and cos(0)=0?
cos0 = 1
but b''=-cox+sinx which is -1+0
* -cosx
yeah ..... i was doing b = c+s instead of c-s :)
c-s = 1 -s-c = -1 -c+s = -1 f = 1(1) = 1 f' = -1(1) + 1(-1) = -2 f' = 1(1) +2(-1)(-1)+ 1(-1) = 2 1 -2x +x^2 .... maybe?
yeah, that is soo much better http://www.wolframalpha.com/input/?i=y%3De%5E%28-x%29%28cos%28x%29-sin%28x%29%29%2C+y%3D1-2x%2Bx%5E2
ook
i was simply making up my own problem lol
xD don't worry
once we get to that point, the Mac series is supposed to be equal to the original function, at least on some interval of convergence. assuming that it converges between 0 and 1/2 ... we need to assess the "rest" of the series that we are omitting by stopping at the x^2 term f(x) = Mac = 1 - 2x + x^2 + E, for some E that we ignored by stopping short, solving for E we get f(x) - [1 -2x +x^2] = E, solve for x=1/2 to determine the error if its positive, the error is rounds up; if negative it is rounding down
On my book it says that in order to find the error you should apply this equation:\[f(x)=T _{n,x _{0}}(x)+\frac{ f ^{n+1} (c)}{ (n+1)! }(x-x _{0})^{n+1}\]
ah ok
class is starting soon, so i have to be getting ready. good luck ;)
okky, thanksss
bye :)
Join our real-time social learning platform and learn together with your friends!