Solve that $$\lim_{x\to0}\bigg[1^{1/\sin^2x}+2^{1/\sin^2x}+....+n^{1/\sin^2x}\bigg]^{\sin^2x}$$
$$ \lim_{x\to 0}\bigg[1^{1/\sin^2x}+2^{1/\sin^2x}+....+n^{1/\sin^2x}\bigg]^{\sin^2x}=\lim_{x\to 0}\bigg[1+2^{1/\sin^2x}+....+n^{1/\sin^2x}\bigg]^{\sin^2x}\\ [1^t+1^t+....+1^t]^{1/t}=n^{1/t}\leq[1^t+2^t+....+n^t]^{1/t}\leq [n.n^t]^{1/t}=n.n^{1/t} $$
Can I use squeeze theorem here or is there a better way ?
Note: My reference gives the solution $n$
We have that
$$n=\bigg[n^{1/\sin^2x}\bigg]^{\sin^2x}\le\bigg[1^{1/\sin^2x}+2^{1/\sin^2x}+…+n^{1/\sin^2x}\bigg]^{\sin^2x}\le \bigg[n\cdot n^{1/\sin^2x}\bigg]^{\sin^2x}\to n$$