Given, for all natural k and a convergence sequence $a_n$: $$ \lim_{n\to\infty}\left((a_n)^k\right)=\left(\lim_{n\to\infty}a_n\right)^k $$
I have to show that $\lim_{n\to\infty}\sqrt{1-\frac{2}{n}}=1$. So: $$ (a_n)^2 = 1-\frac{2}{n}=> \lim_{n\to\infty}\left((a_n)^2\right)=\lim_{n\to\infty}\left(1-\frac{2}{n}\right)=1=\lim_{n\to\infty}\sqrt{1-\frac{2}{n}} $$
Can I do this? thank you.
You can't use that method directly, because you haven't yet shown that $a_n$ converges. Fortunately, you can say first that $a_n < 1$ for all $n$, and it is an increasing sequence, so must converge. Then, your argument works.
Alternatively (in my opinion the more natural approach), observe that $1 - \frac{2}{n} < \sqrt{1 - \frac{2}{n}}< 1$, so we have convergence by the squeeze theorem.
Specifically, $$\begin{align} \sqrt{1 - \frac{2}{n}} < 1 \implies \sqrt{1 - \frac{2}{n}}\times \sqrt{1 - \frac{2}{n}} < \sqrt{1 - \frac{2}{n}} \implies 1 - \frac{2}{n} < \sqrt{1 - \frac{2}{n}}\end{align}$$