plot sin(floor(20 x)/20) from x = 0 to pi