If the function
\[f(x)=\left\{\begin{array}{cc} x+a \sqrt{2} \sin x & \text { if } 0 \leq x \leq \frac{\pi}{4} \\ 2 x \cot x+b & \text { if } \frac{\pi}{4} < x \leq \frac{\pi}{2} \\ a \cos 2 x-b \sin x & \text { if } \frac{\pi}{2} < x \leq \pi \end{array}\right.\]
is continuous in \([0, \pi]\) then \(a-b=\)
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