[填空题]
A function is definedpeo2m8) bx a6e/mpw5b by f(x)=a)shz5 86kzz fq 7rz+ite0ehi; ; uf7ot 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$ .