A well-lagged bar of length 100cm has its ends maintained at 100oC and 40oC respectively….