By "both", I mean one end of the slab is insulated, the other end is exposed to cooling/heating fluid. The boundary conditions for available - or at least, those I'm aware of - analytical solutions for heat conduction in a 1-D slab do not include these combined boundary conditions. Can someone shed more light on this, please?