Which transformation causes the described change in the graph of the function y = cos x?
A. The transformation results in a horizontal shrink.
B. The transformation results in a vertical stretch.
C. The transformation results in a horizontal stretch.
D. The transformation results in a vertical shrink.