已知f(x)的定义域为R,对任意x,y∈R,有f(x+y)+f(x-y)=2f(x)f(y),且f(0)≠0.求证:y=