In the following equation, what is f(5) or f (-2)?

Given:
The function is
[tex]f(x)=x^2+3x-10[/tex]Required:
What is f(5) and f(-2)?
Explanation:
We have
[tex]f(x)=x^2+3x-10[/tex]Now,
[tex]\begin{gathered} f(5)=5^2+3(5)-10 \\ f(5)=25+15-10 \\ f(5)=30 \end{gathered}[/tex]and
[tex]\begin{gathered} f(-2)=(-2^)^2+3(-2)-10 \\ f(-2)=4-6-10 \\ f(-2)=-12 \end{gathered}[/tex]Answer:
So, f(5) = 30 and f(-2) = -12.