document.write( "Question 1158340: let f(x) = 3x^2 + 2x -1 and g(x) = 5x + 7 find (fog)(-2)\r
\n" ); document.write( "\n" ); document.write( "HELP!!!!!
\n" ); document.write( "

Algebra.Com's Answer #781262 by ikleyn(52798)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The easiest way is to calculate g(-2) first\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    g(-2) = 5*(-2) + 7 = -10 + 7 = -3.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "and then substitute this value  g(-2) = -3 into the formula for f(x).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So,  (fog) (-2) = f(-3) = 3*(-3)^2 + 2*(-3) - 1  = 27 - 6 - 1 = 20  is your answer.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "---------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The meaning of this operation,  (fog),  which is called  \"the composition of functions g and f\",  is that\r
\n" ); document.write( "\n" ); document.write( "the output of  \"g\"  becomes the input for  \"f\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );