Evaluate the given integral I have got 2 questions I can't seem to get the same answer to as the book.
31) $\displaystyle \int \sin(\sqrt x)\,\mathrm{d}x = -2\sqrt x \cos(\sqrt x)+2\sin(\sqrt x )+c$.
I just get the integral to be $\frac{1}{2}\cos(\frac{1}{x})+c$
and 
36) $\displaystyle\int \frac{\mathrm{d}x}{x^2(4+x^2)} = -\frac{1}{4}x +\frac{1}{8}  \tan^{-1}\left(\frac{2}{x}\right)+c$
This one has me all over the place. The best I can come to is setting $x = 2\tan x$ but thats about it. 

Hints:
For the first one, take: $ t = \sqrt{x} $ and you get $$ 2\int{t \sin(t) dx} $$
For the second:
$$
\begin{align}
\displaystyle\int \frac{\mathrm{d}x}{x^2(4+x^2)} &= \dfrac{1}{4} \displaystyle\int \frac{(x^2 + 4 - x^2) \ \mathrm{d}x}{x^2(4+x^2)} \\
&= \frac{1}{4} \left[ \displaystyle\int \frac{\mathrm{d}x}{x^2} - \displaystyle\int \frac{\mathrm{d}x}{x^2 + 4} \right]
\end{align}
$$
