Graph f(x) = 3 cos (2x+6) + 4 in the interactive widget.
Note that one moveable point always defines an extremum point in the graph
and the other point always defines a neighbouring intersection with the midline.
