Explanation
Given the function
[tex]f\mleft(x\mright)=2x^3+5x^2+px+8[/tex]We can find the value of p when f(-2 )=10 below;
Therefore, we will have;
[tex]\begin{gathered} f(-2)=2(-2)^3+5(-2)^2+(-2)p+8=10 \\ -16+20-2p+8=10 \\ -4-2p+8=10 \\ -2p+4=10 \\ -2p=10-4 \\ -2p=6 \\ p=\frac{6}{-2} \\ p=-3 \end{gathered}[/tex]Answer: p = -3