f2[x_] := (x-3) Cos[2 x]

p2 = {Plot[f2[x],{x,-2,3}],
Plot[f2'[x],{x,-2,3}]}
[Graphics:indexgr2.gif][Graphics:indexgr16.gif][Graphics:indexgr2.gif][Graphics:indexgr17.gif]
[Graphics:indexgr2.gif][Graphics:indexgr18.gif]

f3[x_] := x^2 Sin[2 x]

p3 = {Plot[f3[x],{x,-2,3}],
Plot[f3'[x],{x,-2,3}]}
[Graphics:indexgr2.gif][Graphics:indexgr19.gif][Graphics:indexgr2.gif][Graphics:indexgr20.gif]
[Graphics:indexgr2.gif][Graphics:indexgr21.gif]

f4[x_] := x Sin[2 x]

p4 = {Plot[f4[x],{x,-2,3}],
Plot[f4'[x],{x,-2,3}]}
[Graphics:indexgr2.gif][Graphics:indexgr22.gif][Graphics:indexgr2.gif][Graphics:indexgr23.gif]
[Graphics:indexgr2.gif][Graphics:indexgr24.gif]