Graphs of the first and second derivatives

Here we illustrate the relationship between the graph of a function [math]f[/math] and the graphs of its first and second derivatives. [br][br]Drag the [b][color=#000000]black point[/color][/b] along the graph of the function. Can you determine what causes the color of each tangent arrow to change as you do?
[i]Developed for use with Thomas' Calculus, published by Pearson.[/i]

Information: Graphs of the first and second derivatives