This demo graphs a function
f(x)
(in white) and its first and second derivatives (in green and red).