document.write( "Question 627511: How to do I graph this function?\r
\n" ); document.write( "\n" ); document.write( "\"+g%28x%29=%28x-3%29%5E2%28x%2B2%29+\"
\n" ); document.write( "

Algebra.Com's Answer #395175 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
How to do I graph this function?
\n" ); document.write( "\"%28x-3%29%5E2%28x%2B2%29\"
\n" ); document.write( "expand
\n" ); document.write( "x^2-6x+9(x+2)
\n" ); document.write( "x^3-6x^2+9x+2x^2-12x+18
\n" ); document.write( "x^3-4x^2-3x+18
\n" ); document.write( "use rational roots theorem to solve\r
\n" ); document.write( "\n" ); document.write( "...0...|....1......-4.......-3........18............
\n" ); document.write( "...1...|....1......-3.......-6........12..
\n" ); document.write( "...2...|....1......-2.......-7.........4..
\n" ); document.write( "...3...|....1......-1.......-6.........0 (3 is a root)
\n" ); document.write( "(x-3)(x^2-x-6)
\n" ); document.write( "(x-3)(x-3)(x+2)
\n" ); document.write( "roots are: 3 (multi. 2) and -2
\n" ); document.write( "y-intercept:
\n" ); document.write( "set equation=0
\n" ); document.write( "y=18
\n" ); document.write( "With these points, you should be able to graph given expression:
\n" ); document.write( "See graph below:
\n" ); document.write( "\"+graph%28+300%2C+300%2C+-10%2C+10%2C+-20%2C+20%2C+x%5E3-4x%5E2-3x%2B18%29+\"
\n" ); document.write( "
\n" );