#2) AP Calculus AB FRQ: 76AB2
#2b) h(x)=f(x)/(x-3) when x!=3
#2b) h(x)=p when x=3
#2b) find p to make h continuous
h(x)=f(x)/(x-3)
show(h(x))
show(factor(h(x)))
show(solve(h(x)==0,x))
p1=plot(h(x),-4,3,color='red')
p2=plot(h(x),3,4,color='green')
show(p1+p2)
#2b) h(3)=p
#2b) lim(h(x),x=3,dir='left')=lim(h(x),x=3,dir='right')=5
#2b) p=5