Let the function f be defined as f(x)=k(x−k)2+30, where k is a constant. If f(k)=10, what is the value of f(5)?
10
12
14
16