plot cos(5x)*(H(x)-H(x-3)) x=0 to 5