Question
Find the values of a and b such that the function defined by
f(x) = $ \left\{ \begin{array} { c c } { 5 , } & {if\ x \leq 2 } \\ { a x + b , } & {if\ 2 < x < 10 } \\ { 21 , } & {if\ x \geq 10 } \end{array} \right.$ is a continuous function.
f(x) = $ \left\{ \begin{array} { c c } { 5 , } & {if\ x \leq 2 } \\ { a x + b , } & {if\ 2 < x < 10 } \\ { 21 , } & {if\ x \geq 10 } \end{array} \right.$ is a continuous function.