# Double integral help

1. Jun 3, 2007

### eckiller

doubleIntegral( |cos(x+y)| dx dy ) over the rectangle [0, pi]x[0,pi]

I tried several ways to split the integral up so that I could remove the absolute value sign and integrate. However, I did not get the correct answer, so I must be splitting it wrong. Can someone show me how to split the region of integration up so I can integrate iteratively?

2. Jun 3, 2007

### FunkyDwarf

At a glance, not saying this will work, but try using polar coordinates? ie x^2+Y^2=r^2 and so on.

3. Jun 4, 2007

### Dick

Polar coordinates are a bad idea. Cut the square along the lines x+y=pi/2 and x+y=(3*pi/2) - since this is where the cos changes sign.