f(x+y)+f(x-y)=2f(x)cosy,求证f(x)为周期函数