Ans: D
Since $x+2$ is a factor of $g(x)$, then by the factor theorem, we have
Since $x+2$ is a factor of $g(x)$, then by the factor theorem, we have
$\begin{array}{rcl}
g(-2) & = & 0 \\
a(-2)^3 + 4a(-2)^2 – 24 & = & 0 \\
8a & = & 24 \\
a & = & 3
\end{array}$
Therefore, we have
$\begin{array}{cl}
& g(2) \\
= & 3(2)^3 + 4(3)(2)^2 -24 \\
= & 48
\end{array}$