The range of the function cos(π[x]) is
(−1, 1)
[−1, 1]
{−1, 1}
{0}
x = n ∈Z ,so cos x π =cos nπ =1 , if n is even = -1 , if n is odd Range={−1, 1}