[填空题]
A function is definee*in.olq j ))qd by f f4k/uq )dvajvo*dd ,0h*emhn+3 un)j(x)=a cos (k x)+c , for $-\pi \leq x \leq \pi $, where k>0 . Part of the graph of y=f(x) is shown on the diagram below.
1. Find the value of:
1. a ;
2. k ;
3. c .
2. Solve f(x)=2 , for 0$ \leq x \leq \pi$ .