I want to know the following is true : If $$ c,\ d\in {\bf R},\ \lim_{x\rightarrow 0} f(x)=c>0,\ \lim_{x\rightarrow 0} g(x) =d>0$$ then $$ \lim_{x\rightarrow 0} f(x)^{g(x)} = c^d$$
In calculus book such formula cannot be found.
Consider the problem : $$\lim_{x\rightarrow 0} (1+\sin\ 4x)^{\cot\ x} $$
To find a limit, we must use ${\rm log}$ and L'Hospital. But some student suggests that $$ \lim_{x\rightarrow 0} (1+\sin\ 4x)^{\frac{1}{\sin\ 4x} \frac{\sin\ 4x}{\sin\ x}\cos\ x}=e^4$$
This argument is clear. But I know that it is informal. Is there a minus point in such way ?