A plane wall of thickness 2L has an internal heat generation that varies according to q = q0 cos(ax), where q0 is the heat generated per unit volume at the center of the wall (x = 0) and a is a constant. If both sides of the wall are maintained at a constant temperature of Tw, derive an expression for the total heat loss from the wall per unit surface area.