document.write( "Question 1005918: it is given that the axis of symmetry of the graph of the function y=x^2+kx+5 is x=-3. Find the value of k. \n" ); document.write( "
Algebra.Com's Answer #622051 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Complete the square to get to vertex form,
\n" ); document.write( "\"y=x%5E2%2Bkx%2B%28k%2F2%29%5E2%2B5-%28k%2F2%29%5E2\"
\n" ); document.write( "\"y=%28x%2Bk%2F2%29%5E2%2B5-%28k%2F2%29%5E2\"
\n" ); document.write( "The vertex lies on the axis of symmetry so when \"x=-3\",
\n" ); document.write( "\"-3%2Bk%2F2=0\"
\n" ); document.write( "\"k%2F2=3\"
\n" ); document.write( "\"k=6\"
\n" ); document.write( "
\n" ); document.write( "
\n" );