I am solving a PDE

1. May 31, 2008

jahandideh

1. The problem statement, all variables and given/known data

oh! after trying to re-solve a PDE I reached this:

2. Relevant equations
$$\sum\frac{4}{((2n-1)\pi)^2} (a+\frac{4(-1)^{n+1}}{(2n-1)\pi}) cos(\frac{2n-1}{2}\pi x)$$

n goes feom 1 to $$\infty$$ and "a" is a constant value.

3. The attempt at a solution
the solution i am trying to reach is:

$$=\frac{1}{2} (1-x^{2}+(1-x)a)$$

but i don't know how?

2. May 31, 2008

HallsofIvy

Staff Emeritus
What is the Fourier series for $$\frac{1}{2} (1-x^{2}+(1-x)a)$$?

3. Jun 2, 2008

jahandideh

thanx for suggestion my buddy.
u know the orginal problem is a heat equation - one dimentional and time dependent-

$$T_{xx}+j^{2}=T_{t}$$
$$T_{t}=-1/2j\frac{b}{cL}$$
$$T(1,t)=0$$
$$T(x,0)=0$$

j,c,b are constant and 0$$\leq$$x$$\leq$$1

i solved the problem to here:

$$T(x,t)= j^{2} \sum (\frac{1}{\lambda_{n}^{2}}) \times \frac{b}{cL}+ \frac {2 \times -1^{n+1}}{\lambda_{n} cos(\lambda_{n}x + j^{2} \sum \frac{-1}{(\lambda_{n})^{2}}(e)^{-\lambda_{n}t} \left[\frac{b}{cL}+ \frac {2\times -1^{n+1}}{\lambda_{n}\right] cos(\lambda_{n}x)$$