Does there exist a non-negative continuous function $f:[0,1]\to \Bbb R$ such that
$\int _0^1 f^n \text{dx}\to 2$ as $n\to \infty $?
By Cauchy-Schwarz Inequality $\int _0^1 f^n dx\le (\int _0^1 f(x)dx)^n\implies \int _0^1 f(x)dx\to 2^{\frac{1}{n}}$ .
I am not getting anything from here.
Please give some hints.