x[i+1]=m*x[i]+b; x[0]=0;