8. 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
{0*C for 10cm<x<20cm
Obtain the temperature distribution u(x,t) in the rod if u(x,t) satisfies the diffusion
equation:
d^2 u(x,t) / dx^2 = 0.5 ( du(x,t)/dt )