graph (1-cos(x^s*pi))/2 from 0 to 1, s=3