Calculus Examples

Find the Maximum/Minimum Value f(x)=cos(pix) , [0,1/6]
I am unable to solve this problem.