Answer on Question #58205/ Physics – Molecular Physics | Thermodynamics
A rod 20 cm long, has both its ends maintained at 0°C at all times. At time t = 0 the temperature distribution in the rod is
T(x,0) = {50°C for 0<x<10cm <x<20cm="" for="" 10cm<x<20cm="" obtain="" temperature="" the="" to="">
Obtain the temperature distribution u(x,t) in the rod if u(x,t) satisfies the diffusion equation:
dx2d2u(x,t)=0.5(dtdu(x,t))Solution
Let us write down whole differential equation with boundary and initial conditions
u – is temperature of rod and function of x,t u=u(x,t), length of rod is l=20 cm
∂x2∂2u=21∂t∂u,0<x<l,t>0u(0,t)=0u(l,t)=0u(x,0)={50=T0,0,0<x<1010<x<20
So, we start from separation of variables.
Let u(x,t)=X(x)⋅T(t), where X(x) – function that depends only on x variable, T(t) – function that depends only on t variable.
∂x2∂2u=T⋅dx2d2X∂t∂u=X⋅dtdT
And
X(0)=0X(l)=0
From initial equation
∂x2∂2u=21∂t∂uT⋅dx2d2X=21X⋅dtdT
Or
Xdx2d2X=21TdtdT=λ
And our task now is to find λ</x<10cm>
Xdx2d2X=λ
Here we see spectral problem with boundary conditions.
dx2d2X=λXX(0)=0X(l)=0
1) Put λ=0
X=Cx+DX(0)=0=DX(l)=0=Cl→C=0
So, λ=0 can't give us a solution
2) Put λ>0,λ=w2
dx2d2X−w2X=0
Solution for this equation can be found in form of:
X=Csh(wx)+Dch(wx)X(0)=0=C0+D→D=0X(l)=0=Csh(wl)→orC=0orsh(wl)=0.Ifsh(wl)=0→λ=0, and initial assumption was λ>0.IfC=0, again solution is trivial
3) Put λ<0,λ=−w2
dx2d2X+w2X=0
Solution for this equation can be found in form of:
X=Csin(wx)+Dcos(wx)X(0)=0=C0+D→D=0X(l)=0=Csin(wl), so if C=0, then sin(wl)=0wl=nπ,n=1,2,3,…wn=lnπ
And here we have spectrum of eigenvalues.
Eigenfunctions are Xn=Cnsin(wnx)
λ=−w2=21TdtdT
From previous row: Tn=Dne−2w2t
So,
un(x,t)=Dne−2wn2tsin(wnx)u(x,t)=n=1∑+∞un(x,t)
Then, we put initial condition
u(x,0)=n=1∑+∞un(x,0)=n=1∑+∞Dnsin(wnx)
And Dn are coefficients of Fourier transform
Dn=l2∫0lu(x,0)sin(wnx)dx
From
u(x,0)={50,0,0<x<1010<x<20Dn=l2∫010T0sin(wnx)dx=l2T0(−wncos(wnx)∣∣010)=l2T0l⎝⎛nπcos(lnπx)∣∣10=2l0⎠⎞=nπ2T0(1−cos(2nπ))=nπ2T02sin2(4nπ)=nπ4T0sin2(4nπ)
Result
u(x,t)=n=1∑+∞un(x,t)=n=1∑+∞nπ4T0sin2(4nπ)e−2(lnπ)2tsin(lnπx)
https://www.AssignmentExpert.com