I am trying to find an easy way to compute the limit as $x \to 0$ of
$$f(x) = \frac{\sqrt{1+\tan(x)} - \sqrt{1+\sin(x)}}{x^3}$$
from first principles (i.e. without using l'Hôspital's rule).
I have gone as far as boiling down the problem to computing the limit as $x \to 0$ of
$$\frac{1 - \cos(x)}{x^2}$$
I thought about using the Small Angle Approximation for cosine, which indeed gives the right answer but doesn't seem to be a very formal.
Any hint?
Also, my working was fairly long so if you have a straightforward way to compute the limit of $f(x)$ I would love to hear it :)