A slab is insulated on one side and exposed to a surrounding temperature through a heat transfer coefficient on the other. There is non uniform heat generation in the slab such that Wi = [A(W/m4)][x(m)], where x=0 at the insulated wall and x=L at the cooled wall. Derive the temperature distribution in the slab.