Charge is distributed over a triangular region in the -plane bounded by the -axis and the lines =5− and =1+. The charge density at a point (,) is given by (,)=+, measured in coulombs per square meter (C/m2). Find the total charge.
I've graphed a triangle which then made me form the integral $$\int_0^3 \int_{y-1}^{5-y} (x+y) \,dx \, dy$$, making me get $27$. I believe there is something wrong with my calculation. Is it that I am using the wrong variable or something else?
