#1) find limit as x approaches -3 for the function y=x+4
show(limit(x+4,x=-3))
show(limit(x+4,x=0))
plot(x+4,-5,5)
#2)find the limit as x approaches -2 for y=(x^2+2x+4)/(x+2)
show(limit((x^2+2*x+4)/(x+2),x=-2))
plot((x^2+2*x+4)/(x+2),xmin=-4,xmax=4,ymin=-1000,ymax=1000)
#3)find the limit as x approaches -2 for y=(x^2+4x+4)/(x+2)
show(limit((x^2+4*x+4)/(x+2),x=-2))
plot((x^2+4*x+4)/(x+2),-5,5)