ÿ\NLETTER\6.6\CURVES4.PRGProgram 4 r = y1; s = 0.5; for (xi=x1; xi<=x2; xi++) { plot(xi,r); if(s+m>=1) { r++; s += (m-1); } else s += m; }