Martin Flashman, Feb. 19, 2017. Created with GeoGebra

Notice how the arrows on the mapping diagrams are paired with
the points on the graph of the functions.

You can move the point for $x$ on the mapping diagram to see how
the function value for the function $ h(x) = 2\cos(x )$
changes both on the diagram and on the graph.

The arrow on the point on the mapping diagram target axis indicates
whether the value of the function $h(x)$ is increasing (pointing up) or
decreasing (pointing down).

Notice how the graph and mapping diagram visualize the fact that **for the cosine function,** $2\cos(x)$ has the same basic shape as $\cos(x)$ though its extreme values have changed to $2$ and $-2$.

Check the box to show points on the graph and arrows on the diagram
for the function $ h(x) = A\cos( x)$.

Move the slider to change the function to $\sin$ or $\tan$.