All published worksheets from http://sagenb.org
g(x)=sin(x)*3*x^2
g
Dg(x)=g.derivative()
Dg
p1=plot(g(x),0,2)
p2=plot(Dg(x),0,2)
show(p1+p2)