$$ k(x) =\begin{cases} \dfrac { ax+\sin2x }{ 3x } &\quad x>0 \\ a(x+1) &\quad x\le 0 \end{cases} $$
For $k$ is a continuous, I've found that a is equal to $1$ (correct?). Now, whether there are values of $a$ for which $k$ is a differentiable function. I am not quite sure that after differentiating $\frac{ax+\sin2x}{3x}$, then substitute zero to the formula, I got zero over zero. So, is there no value of $a$ for which $k$ is a differentiable function?
Thank you, god bless you.
we have the $$\lim_{x\to 0}a(x+1)=a$$ and $$\lim_{x\to 0}\frac{ax+\sin(2x)}{3x}=\frac{2+a}{3}$$ so one can write $$\frac{ax+\sin(2x)}{3x}=\frac{a}{3}+\frac{\sin(2x)}{2x}\cdot \frac{2}{3}$$