Calculus 8th Edition

The inverse function is not simply $\frac{1}{f(x)}$. Here, multiply out $cos(x)$ and plug in $x=0$ to see that this is false.