Kenandmath
New member
- Joined
- Oct 25, 2013
- Messages
- 2
This is an assignment and needed helped with the answers.Any help with this will be greatly appreciated.
5. Under what circumstances would I be better off using a Taylor series rather than a Maclaurin series to approximate a function?
6. Determine a Taylor Series approximation for f(x) where n = 4 and a = 3
Part II: Fourier series
Write the Fourier series for the following function: f(x) = {-2x -pi<x<0 }
{2x 0<x<pi }
1. Find a0 using the formula a0=1/2pi integral limit-pi to pi f(x)dx
definite integral limit -pi to 0 of -2x dx
definite integral limit 0 to pi of 2x dx
a0= 1/2pi{definite integral limit of -pi to 0 of -2x dx + definite integral limit 0 to pi of 2x dx }=
2. Find ak using the formula ak=1/pi definite integral limit of -i pto pi f(x)cos(kx)dx.
Note: We can use the integration formula: indefinite integral ucos(u)du=cos(u)+usin(u). To do this we will set u = kx, which makes du = kdx. To complete the substitution we need to have a k attached to both the f(x) and dx portion of the integral. Thus, we are multiplying in two k’s. To balance this we must also divide by 2 k’s outside the integration. Thus, the constant outside the integration will look like 1/pik^2.
5. Under what circumstances would I be better off using a Taylor series rather than a Maclaurin series to approximate a function?
6. Determine a Taylor Series approximation for f(x) where n = 4 and a = 3
Part II: Fourier series
Write the Fourier series for the following function: f(x) = {-2x -pi<x<0 }
{2x 0<x<pi }
1. Find a0 using the formula a0=1/2pi integral limit-pi to pi f(x)dx
definite integral limit -pi to 0 of -2x dx
definite integral limit 0 to pi of 2x dx
a0= 1/2pi{definite integral limit of -pi to 0 of -2x dx + definite integral limit 0 to pi of 2x dx }=
2. Find ak using the formula ak=1/pi definite integral limit of -i pto pi f(x)cos(kx)dx.
Note: We can use the integration formula: indefinite integral ucos(u)du=cos(u)+usin(u). To do this we will set u = kx, which makes du = kdx. To complete the substitution we need to have a k attached to both the f(x) and dx portion of the integral. Thus, we are multiplying in two k’s. To balance this we must also divide by 2 k’s outside the integration. Thus, the constant outside the integration will look like 1/pik^2.
Last edited by a moderator: