plot y=SquareWave[x/2]*Sin[8*Pi*x] from x=0 to 4