\(\displaystyle \lim_{n \to \infty }\int_{0}^{\frac{\pi}{3}}\frac{sin^{n}(x)}{sin^{n}(x)+cos^{n}(x)}dx\)
I found a solution on the internet but I don't understand it completely.

I understood the first part ( they switch the limit with the integral ).I just don't understand the values of the limits.
Also, I understood those conditions and intervals.The 1/2 limit I think I understood it.If sinx=cosx the limit is like I would have (n/2n) as n->00 so the limit is 1/2, right?
Also, the last limit which is 0.For example if I take x=pi/6.At numerator I would have (1/2)^n which is 0 because -1<1/2<1 so the whole limit is 0.That's the reason why the last limit is 0?
But why the first limit is 1?
I found a solution on the internet but I don't understand it completely.

I understood the first part ( they switch the limit with the integral ).I just don't understand the values of the limits.
Also, I understood those conditions and intervals.The 1/2 limit I think I understood it.If sinx=cosx the limit is like I would have (n/2n) as n->00 so the limit is 1/2, right?
Also, the last limit which is 0.For example if I take x=pi/6.At numerator I would have (1/2)^n which is 0 because -1<1/2<1 so the whole limit is 0.That's the reason why the last limit is 0?
But why the first limit is 1?