- #1
- 20
- 0
Homework Statement
Compute the Fourier cosine series for given function:
f(x)=sinx 0<x<pi
Homework Equations
for cosine series of f(x) on [0,T]... use this general equation:
http://mathworld.wolfram.com/FourierCosineSeries.html
The Attempt at a Solution
so I get:
a0 = (2/pi) * integral(sinxdx) with bounds 0 to pi = 4/pi
but then.. when I try to compute an
I get
an=(2/pi) * integral(sinx*cosnx*dx) with bounds 0 to pi
How do I integrate sinxcosnx?
Last edited: