A rod of length L has its ends A and B maintained at 20 °C and 40 °C respectively
until steady state condition prevail. The temperature at A is suddenly raised to
50 °C while that at B is lowered to 10 °C and maintained thereafter. Find the
subsequent temperature distribution of the rod.