Define Average Value Of An Alternating Quantity