How do I draw the derivative of a function

d f(x) / dx = lim as h-->0 of [(f(x+h)-f(x)]/h

sketch a continuous curve

graph those points with y(x), y(x+h)nearby and draw a line between them

as h gets small, the points approach each other and the line between them becomes the slope at x