Example of Fundamental of Electromagnetics with MATLAB in 31 page
The final result is 46.5.
With the same manner the return path can be calculated and it yields -51 as the work of cart have done.
This shows a nonconservative field since there is a path whose integral is not equal to zero.
When the field is defined as follow :
F = 3ux + 4uy
,then the calculation have to be differ from the one for the conservative field.
The solution is needed to sum up the four path respectively and it yields zero.
Thus the eqaution for the field represents a conservative field.