plot ((integerpart(x))*abs[sin((pi)*(x))])