A machine draws 12 kW for 3 h, 6 kW for 2 h, and 1.4 kW for 1 h. It is off for the remainder of a 8 h shift. These are constant electrical input powers for non-overlapping periods. Electricity costs 0.25 currency units per kWh; ignore demand charges and taxes.
Calculate the energy during the high-load period in kWh. Keep intermediate values unrounded; round the final result to four decimal places if necessary.