# Heat equation problem so confusing

Chestermiller
Mentor
The one is post 94 was different initial condition which was cos(2πx). This is exactly the same question as of post 94 but the initial conditions in the previous post if you see is now sin(2πx). That's why the solution is different and thus the term with sin(2πx). Do you still think its wrong?
Are you saying that this is for a different problem that we haven't discussed before?

Chet

Are you saying that this is for a different problem that we haven't discussed before?

Chet
Yes different problem. But only thing different is the initial condition...

Chestermiller
Mentor
Yes different problem. But only thing different is the initial condition...
Then, the solution looks OK, but you didn't need to use Fourier Series to solve this.

Chet

Then, the solution looks OK, but you didn't need to use Fourier Series to solve this.

Chet
This is the only way I was taught to solve inhomogeneous questions like these... like finding the Bn and then solving for U(x,t)...is the solution really correct though?

Chestermiller
Mentor
This is the only way I was taught to solve inhomogeneous questions like these... like finding the Bn and then solving for U(x,t)...is the solution really correct though?
As best I can tell, yes.

Chet