sqrt( integral[ squarewave( x )^2 dx from x = 0 to 1 ] )