plot {x * x * (3 - 2 * x), (1 - Cos[pi * x])/2} from 0 to 1