- #1
wakko101
- 68
- 0
Homework Statement
The heat eq'n is Ut -4Uxx = 2t - xsin(x)
Ux(0,t) = Ux(pi,t) = 0, U(x,0)=x^2+1
Homework Equations
Using separation of variables, in obtaining the eigenvalues/eigenfunctions of X''=-lambdaX, it would appear that you would need to use a cosine series basis and expand the equation. But it seems to me that the xsin(x) on the RHS of the equation is causing problems and I'm not sure how to proceed.
The Attempt at a Solution
If you expand the RHS as a cosine Fourier series, the coefficients would be given by int(0 to pi)(2t + xsin(x))cos(nx) dx. I'm stumped...any suggestions/hints would be appreciated.
Cheers. =)