Step 1: Understanding the Concept
For continuity, the left limit must equal the right limit at the joining points \(x = \dfrac{\pi}{4}\) and \(x = \dfrac{\pi}{2}\).
Step 2: Continuity at \(\pi/4\)
Left: \(\dfrac{\pi}{4} + a\sqrt{2}\sin\dfrac{\pi}{4} = \dfrac{\pi}{4} + a\)
Right: \(2\cdot\dfrac{\pi}{4}\cot\dfrac{\pi}{4} + b = \dfrac{\pi}{2} + b\)
So \(a - b = \dfrac{\pi}{4}\).
Step 3: Continuity at \(\pi/2\)
Left: \(\lim 2x\cot x = 0\), so left limit \(= b\).
Right: \(a\cos\pi - b\sin\dfrac{\pi}{2} = -a - b\)
So \(b = -a - b\), giving \(a = -2b\).
Step 4: Solve
\(-2b - b = \dfrac{\pi}{4}\), so \(b = -\dfrac{\pi}{12}\) and \(a = \dfrac{\pi}{6}\), which is option (D).
Final Answer:
The values are a = pi/6 and b = -pi/12.
\[ \boxed{\text{(D) }a=\dfrac{\pi}{6},\ b=\dfrac{-\pi}{12}} \]