document.write( "Question 1168760: Write the equation of a rational function that has:
\n" ); document.write( " - real zeros when x = 1 and 2
\n" ); document.write( " - a removable discontinuity when x = 3
\n" ); document.write( " - a vertical asymptote when x = 4
\n" ); document.write( " - a horizontal asymptote at y = 3
\n" ); document.write( "

Algebra.Com's Answer #793422 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
needs (x-3)/(x-3) for the discontinuity.
\n" ); document.write( "(x-1)(x-2) in the numerator for the roots
\n" ); document.write( "(x-4) in the denominator for the asymptote
\n" ); document.write( "3 in the numerator and another term with x in the denominator so that the power of the numerator and denominator are both the same to give the asymptote of 3. I used (x-4), since it did not affect the roots or the hole.\r
\n" ); document.write( "\n" ); document.write( "3(x-1)(x-2)(x-3)/(x-3)(x-4)^2\r
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );