A question asks me to calculate the following integral using NIntegrate
:
Calculate the double integral ... where D is the area bounded by the four lines ...
With the following code I only manage to get zero as an answer, which is wrong:
f[x_, y_] := (30*x^2 + 37*x*y + 10*y^2)^2
NIntegrate[f[x, y] Boole[6*x + 5*y == 9 && 6*x + 5*y == -9 && 5*x + 2*y == 1 &&
5*x + 2*y == -1], {x, -Infinity, Infinity}, {y, -Infinity, Infinity}]
What should I do instead?