reset()
m,c=0.5,-2
var('y')
x=[0,1.5,3,4,5,7,10]
for n in range(0,6):
    y=m*x[n]+c
    y

Pratap-2.2-1 (last edited 2010-12-17 06:32:18 by PK)