Integrate[Cos[x+y+z],{y,0,pi/2},{x,0,y},{z,0,x}]