Find values of a and b such that the following function f is continuous at x=0 …

Find values of aa and bb such that the following function ff is continuous at x=0x=0 and x=1x=1:

f(x)={a(1cos2xsin(2x)), if x<02x2x+b, if 0x1x2+2x3x21, if x>1f(x)=\begin{cases} a\left(\dfrac{\sqrt{1-\cos^2x}}{\sin(2x)}\right)&,\text{ if }x<0\\\\ 2x^2-x+b&,\text{ if }0\le x\le1\\\\ \dfrac{x^2+2x-3}{x^2-1}&,\text{ if }x>1 \end{cases}
More Continuity Questions: