[Solution by Dr. Abubacker] Continuity at $0$: the limit $\frac{a-b\cos2x}{x^2}$ is finite only if $a=b$, giving $\lim\frac{b(1-\cos2x)}{x^2}=2b=f(0)=2\Rightarrow a=b=1$. At $x=1$: $1+c+2=3\Rightarrow c=0$. Derivatives: at $0^-$, $\frac{2\sin^2x}{x^2}=2-\frac23x^2+\dots$, so $f'(0^-)=0$; at $0^+$, $f'=2x+c=0$. At $1$: $f'(1^-)=2$ and $f'(1^+)=2$. So $f$ is differentiable everywhere, $m=0$. $m+a+b+c=0+1+1+0=2$. Answer (4).