The questions asks for the average value. Should'nt the answer be 0 and not 1000? The average value of a periodic square wave is zero. The answer would make sense to me if we were asked to find the effective or r.m.s value of the waveform. What am I missing? Thanks.