Upgrade to access all content for this subject

Let $[x]$ be the floor function, i.e., $[x]$ denotes the largest integer that is not bigger than $x$. Calculate the double integral:

$$\iint_R [x+y] dxdy$$

...where $R=\{(x,y): 0\leq x\leq 2, 0\leq y\leq 2\}.$

$0$

$-1$

$2$

$4$

$6$