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

2 Answers

The plot is as follows

graph{cos(pi*x) [-10, 10, -5, 5]}

Feb 20, 2016

Answer:

The period of cos kx is 2#pi#/k. So, the period of cos 2x is 2.The amplitude is 1.

Explanation:

For one complete cosine wave:
x: 0 1/2 1 3/2 2
y: 1 0 #-#1 0 1

y repeats when x is increased or decreased by 2.