1. What is the period of the function?

y=4 cos pi x

A. 1
B. 2
C. pi
D. 2pi