Evaluate the following expression using the values given: Find 3x2 - y3 - y3 - z if x = 3, y = -2, and z = -5.
3x2 - y3 - y3 - z if x = 3, y = -2, and z = -5.
$$\\3x^2 - y^3 - y^3 - z\\\\
=3*3^2 - (-2)^3 - (-2)^3 - (-5)\\\\
=3*9 - -8 - -8 - (-5)\\\\
=27+8+8+5\\\\
=48$$
-------------------------------------------------
check
3*3^2 - (-2)^3 - (-2)^3 - -5
$${\mathtt{3}}{\mathtt{\,\times\,}}{{\mathtt{3}}}^{{\mathtt{2}}}{\mathtt{\,-\,}}{\left(-{\mathtt{2}}\right)}^{{\mathtt{3}}}{\mathtt{\,-\,}}{\left(-{\mathtt{2}}\right)}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{5}} = {\mathtt{48}}$$
3x2 - y3 - y3 - z if x = 3, y = -2, and z = -5.
$$\\3x^2 - y^3 - y^3 - z\\\\
=3*3^2 - (-2)^3 - (-2)^3 - (-5)\\\\
=3*9 - -8 - -8 - (-5)\\\\
=27+8+8+5\\\\
=48$$
-------------------------------------------------
check
3*3^2 - (-2)^3 - (-2)^3 - -5
$${\mathtt{3}}{\mathtt{\,\times\,}}{{\mathtt{3}}}^{{\mathtt{2}}}{\mathtt{\,-\,}}{\left(-{\mathtt{2}}\right)}^{{\mathtt{3}}}{\mathtt{\,-\,}}{\left(-{\mathtt{2}}\right)}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{\mathtt{5}} = {\mathtt{48}}$$