Temperature Distribution and Its Kinetics in a Semiconducting Sandwich