As you wish:
1. User can select check boxes to choose to show only the graph of first derivative or the second derivative, or both.
2. The color of white line has been changed to black line.


I would like to ask student to answer which curve is the derivate of the f(x) and tell me why/how s/he find out.
So I did not add those information in the diagram.