y = x^2(1-x); y = (x+1)^3/27 from x=0 to x=1