∂t∂u=−κΔuu(0,t)=u(5,t)=0u(x,0)=2sin(πx)−4sin(2πx) Let's find the solution in such a way:
u=T(t)X(x)TT′(t)=−κXX′′(x)=−κλ where lambda is a constant.
X′′+λX=0X(0)=X(5)=0hence
X=sin5nπx while n is integer and
λ=(5nπ)2 Thus
T′=−κλTT=Ce−κλt The heat conduction equation is linear, therefore a sum of solutions is also a solution.
u(x,0)=2sin(πx)−4sin(2πx)λ1=(55π)2,λ2=(55⋅2π)2u(x,t)=2e−κπ2tsin(πx)−4e−4κπ2tsin(2πx)
Comments