Example for $\lim_{x\rightarrow a}\left[ (f(x))^{g(x)} \right]\neq \left(\,\lim_{x\rightarrow a} f(x)\right)^{\lim_{x\rightarrow a}g(x)}$

51 Views Asked by At

I need to prove that $$\lim_{x\rightarrow a}\left[ (f(x))^{g(x)} \right]\neq \left(\,\lim_{x\rightarrow a} f(x)\right)^{\lim_{x\rightarrow a}g(x)}$$ by giving an example

Here both $f, g$ are real functions and $a\in \Bbb R$

Can you give me an example for $f$ and $g$ ?

thanks!