Let
g(x)={3x+k,x2−3,x<2,x≥2.
Determine the constant k that ensures g is continuous at x=2. Justify your answer with appropriate limit calculations.
(a) Calculate the left–hand limit of g as x approaches 2.
(b) Calculate the right–hand limit of g as x approaches 2.
(c) Determine the value of k that makes the two one–sided limits equal, and state the common limit value.