best linear approximation (1 Viewer)

xanny

New Member
Joined
Nov 9, 2005
Messages
5
Location
austin
Gender
Female
HSC
2006
L(x)=cos x =>

girve the best approximation of the form f(x)=a(e^x)+bx+c

Thanks for your helps!
 

Stan..

Member
Joined
Nov 4, 2004
Messages
278
Gender
Male
HSC
2006
L(x) = f(a) + (x-a)f'(x)
L(x) = -xSinx + aSinx + Cosa
I guess you could expand sin and cos from here.
 

SeDaTeD

Member
Joined
Mar 31, 2004
Messages
571
Gender
Male
HSC
2004
Um, at x=A
L(A) = cosA
L'(A) = -sinA
L''(A) = -cosA

Now to match the value of the function and also the 1st and 2nd derivatives.
let:
f(A) = a(e^A)+bA+c = L(A) = cosA
f'(A) = a(e^A) + b = L'(A) = -sinA
f'(A) = a(e^A) = -cosA
=> a = -cosA*e^-A
b = -sinA - a(e^A) = -sinA + cosA
c = cosA - a(e^A) - bA = cosA + cosA -A(-sinA + cosA) = 2cosA - A(cosA - sinA)

so f(x) = -cosA*e^-A*e^x + (cosA - sinA)x + 2cosA - A(cosA - sinA)
= - cosA*e^(x-A) + (cosA - sinA)x - A(sinA - cosA)
as an approximations of L(x) = cosx, at x=A, in the form a(e^x) + bx + c.

Though that's not a linear approximation, as the title suggests.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top