A real-valued function f has the property that for all real numbers a and b,
f(a+b)+f(a−b)=2f(a)f(b).
If f(0)=1 and f(2)=−1, what is the value of f(1)?
-2
-1
0
1
2