Exploring the Chain Rule

This construction shows graphs of y=sin(k*x) and its derivative. When k=1, as in the initial setup, you see the familiar (sinx)'=cosx. Explore the relationship between sin(k*x) and its derivative by varying k. Conjecture a formula for the derivative of sin(k*x).