Let f be a continuous function defined on [0,1] such that ∫10f2(x)dx=(∫10f(x)dx)2. Then the range of f.