Assignment MAT421
Assignment MAT421
> limit(f(x),x=1);
> # d) No
> # e) f(x) is discontinuous at x=1
> plot(f(x));
>
>
> # Question 2;
> f := x -> -(3-x)/(x+3);
> # y-intercept
> f(0);
> solve(%);
> limit(f(x),x=%%,right);
> limit(f(x),x=-infinity);
> # horizontal asymptote y=1
> # c) critical point(s)
> Df:=D(f);
> simplify(1/(x+3)+(3-x)/(x+3)^2);
> solve(%);
> # no critical point
> # d) no extrema point.
> # e) inflection point
> DDF:=D(D(f));
> simplify(-2/(x+3)^2-(2*(3-x))/(x+3)^3);
> solve(%);
> # no inflection point.
> plot(f(x));