Answer:
We have been given two function:

We need to tell their values so,

Put n=2 in the given above function cos(\frac{n{\pi}}{2}) we get: -1
Put n=3 in the function cos(\frac{n{\pi}}{2}) we get: 0

Put n=2 in the given above function cos(\frac{n{\pi}}{2}) we get: 0
Put n=3 in the function cos(\frac{n{\pi}}{2}) we get: -1