I'm confused on how to complete these kind of problems:

Evaluate cos 31(pi)/3

Evaluate sin 15(pi)/4

How do I do these when pi is involved?

Also, how would I find a reference angle when pi is involved? Example:

Find the measurement of the reference angle of an angle measuring 7(pi) /4.