All published worksheets from http://sagenb.org
def y(x): return x + 1 plot(y, (-5,5))
def y(x): return (1/2)*x-1 plot(y, (-5,5))