Q.
If the function
$f(x) = \begin{cases}
-x & \quad x < 1 \\
a + \cos^{-1} (x + b), & \quad \leq x \leq 2
\end{cases}$
is differentiable at $x = 1$, then $\frac{a}{b}$ is equal to :
Solution: