Analysis of the Temperature in Rectangular Profile with and without Internal Heat Generation