integrate 30 dx from x=0 to pi