create a p(x) with the following conditions:

A) Vertical asymptotes at x=5 and x=-2
B) A double root x=-3
C) A horizontal asymptote at y=3

3 answers

(A) y = 1/(x-2)(x-5)

(B) y = (x+3)^2 / (x-2)(x-5)

(C) y = 3(x+3)^2 / (x-2)(x-5)
(3x+9)(x+3)/ [(x-5)(x+2)]

in the numerator I used 3x+9 instead of x+3 so that as x goes to infinity
the fraction goes to 3x^2 + little stuff /x^2 + little stuff ---> 3
Sorry - I missed the -2 ; read x=2