How to plot the graph of y = cos pi x ?