I have the following function $$f(x) = 3x^3 - 5x^2 - 4x + 4.$$
I would like to find the value of $f(x)$ when $x = -3$.
I have ordered the equation in the following way. $$f(-3) = (3 \times -3^3) - (5 \times -3^2) - (4 \times -3) + 4 = -28.$$
Can anyone tell me if the following syntax is correct and if not, where have I gone wrong.