Consider the function g defined as
g(x)=⎩⎨⎧xsinx,a+bx,x<0,x≥0,
where a and b are real constants.
a. (i) Find the values of a and b that make g continuous at x=0.
b. (ii) For the obtained values of a and b, discuss the continuity of g on the entire real line.
c. (iii) State with reasons the nature of discontinuity, if any, at x=0 when a and b do not satisfy the condition found in part (i).