Gradient function graph - sine

Drag the letter A along the graph of the function, f, to reveal a trace of the graph of the gradient function