
clear; close;

disp(' ')
disp('            A nonconservative vector field      ')
disp('      F(x,y) = ( u(x,y), v(x,y)) = ( y, 2xy)   ')
corners = [-2 2 -2 2];
u = inline('y','x', 'y');
v = inline('2*x.*y', 'x', 'y');

lint(u,v,corners)
hold on
lint(u,v,corners)

pause
close

