Consider the function f(x) = x^2+x-7. What is the value of f(x) when x=3?