Given the function `f\left(x\right)=x^{2}+x`-2, evaluate the function at x=2

To evaluate the function at x = 2, substitute x = 2 into the given function:

f(2) = (2)^2 + 2 - 2
= 4 + 2 - 2
= 4 + 0
= 4

Therefore, f(2) = 4.