The values of \(a\) and \(b\), so that the function
\(f(x)=\left\{\begin{array}{l} x+a \sqrt{2} \sin x, 0 \leq x \leq \frac{\pi}{4} \\ 2 x \cot x+b, \frac{\pi}{4} \leq x \leq \frac{\pi}{2} \\ a \cos 2 x-b \sin x, \frac{\pi}{2} < x \leq \pi \end{array}\right.\)
is continuous for \(0 \leq x \leq \pi\), are respectively given by
If the function defined by
\(f(x)=\begin{cases} ax^{2}+bx+1, & |2x-3|\geq 2 \\ 3x+2, & \frac{1}{2}\lt x\lt \frac{5}{2} \end{cases}\)
is continuous in its domain, then the values of \(a\) and \(b\) respectively are