plot x(pi-x) and (pi/2)^2sin(x) from 0 to pi