All published worksheets from http://sagenb.org
#var('x') f(x) = x^3 - x^2 - x + 1 show(f) plot(f, (x, -3, 3))