Find absoulute maximum and absolute minimum of the function f(x)=2cost+sin2t