A function is said to be continuous when it does not have any abrupt changes in output values.
E.
For f(x) to be continuous the function should be defined smoothly, i.e. it should not have any holes.
Now, we know that f(x) = 5 when x ≤ 2 and f(x) = ax+b for 2 < x < 4. Therefore, we must choose a and b such that

and

The first equation gives

and the second equation gives

This is now a system of two equations and we solve it by first solving for b in the first equation and substituting its value in the second equation.
The first equation gives

putting that into the second equation gives



And the value of b is


Hence, a = 4.5 and b = -7 will make f(x) continuous.
F).
Using the same logic as above, we find that the must satisfy the following limits if it is to be continuous.

and

The first equation gives
a(1)^2 = 7(1)
a = 7
and the second equation gives
a(3)^2=b(3) + 3



Hence, a = 7 and b = 20 make f(x) continuous.