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

It is nothing but find the value of $f \left(3\right)$
$f \left(3\right) = {3}^{2} + 3 - 7 = 9 + 3 - 7 = 5$