Professional Documents
Culture Documents
(CSP-305)
Worksheet-2
m=
yi+1-yi=∆y.......................equation 3
yi+1-xi=∆x......................equation 4
yi+1=yi+∆y
∆y=m∆x
yi+1=yi+m∆x
∆x=∆y/m
xi+1=xi+∆x
xi+1=xi+∆y/m
Case1: When |M|<1 then (assume that x12)
x= x1,y=y1 set ∆x=1
yi+1=y1+m, x=x+1
Until x = x2