I have the following limit:
$$y=\lim_{x\to\infty} \left(x\ln\left(1+\frac{1}{x}\right)\right)^{x^2\sin(1/x)}$$
From here I do the following:
$$\ln(y)=\lim_{x\to\infty}x^2\sin(\frac{1}{x})ln(x\ln(1+\frac{1}{x}))=\lim_{x\to\infty}\frac{\sin(\frac{1}{x})}{\frac{1}{x^2}}\ln(\frac{\ln(1+\frac{1}{x})}{\frac{1}{x}})$$
And from here on I'm stuck with no obvious way to apply L'hopital's rule. Any tips? According to limit calculators $\ln(y)$ should have a value of $-\frac{1}{2}$ and then $y=\frac{1}{\sqrt{e}}$
$$=\frac{\sin\frac{1}{x}}{\frac{1}{x}}\frac{\ln(x\ln(1+\frac{1}{x}))}{x\ln(1+\frac{1}{x})-1}x(x\ln(1+\frac{1}{x})-1)$$ the first two fractions are standard limits, now apply Hopital twice to
$$\frac{x\ln(1+\frac{1}{x})-1}{\frac{1}{x}}$$