Hendrick
- 41
- 0
Homework Statement
Solve the heat flow problem using the method of separation of variables:
Homework Equations
PDE:\frac{\partial u}{\partial t}=k\frac{\partial^{2} u}{\partial t^{2}}
for 0<x<L, 0<t<\infty
BC's:\frac{\partial u}{\partial x}(0,t)=0,\frac{\partial u}{\partial x}(L,t)=0
for 0<t<\infty
IC's: u(x,0)=
{0, 0<x<L/4
{1, L/4<x<3L/4
{0, 3L/4<x<L
(Piecewise IC)
The Attempt at a Solution
I have separated the variables, then applied the boundary conditions. I am stuck on applying the initial conditions.
I have come up with a general product solution of u_{n}=F_{n}cos(\frac{n \pi x}{L}) e^{-k(\frac{n \pi x}{L})^{2}t}
Trying to combine all product solutions and match the initial data:
u(x,0)=f(x)
\sum^{\infty}_{n=1}u_{n}(x,0)=f(x)
\sum^{\infty}_{n=1}F_{n}cos(\frac{n \pi x}{L})=f(x)
I don't know how to apply the piecewise initial condition, any help would be appreciated. Thank you