Can we calculate example 3 with LineIntegrate ?
I tried:
LineIntegrate[y^2 - x, {x, y} \[Element] Line[{{-1, -1}, {-1, 1}, {1, 1}, {1, -1}, {-1, -1}}]] (* 16/3 *)
and it shouldn't be zero ?
Regards M.I.
Yes it should be zero
Oh thank you very much. I will fix it
Isn't there a mistake on that particular code?