The function \(f\) is given by
\(f(x) = \begin {cases}
\tan\Bigg(\dfrac{x}{2}\Bigg) &\ \ 4 \leq x \leq 2\pi \\
\sin(ax) &\ \ \ 2\pi\leq x\leq 8
\end{cases}\)
The value of \(a\) for which \(f\) is continuous and smooth at \( x\) = \(2\pi\) is
- \(-2\)
- \(-\dfrac{\pi}{2}\)
- \(-\dfrac{1}{2}\)
- \(\dfrac{1}{2}\)
- \(2\)