Question on Billing (Demand Calcs part 9 & 10)

In both these examples we’re only charging for the maximum demand. Why would it no be for the total KWh? Did I miss something?