Find a field G=P(x,y)i +Q(x,y)j in the xy-plane with the property that at any point (a,b)=(0,0), G is a unit vector tangent to the circle x2+y2=a2+b2 and pointing in the clockwise direction.
A circle, centre (0,0), with radius r traced clockwise can be parameterised via (x,y) = (r*cos(-t), r*sin(-t)) = (r*cos(t), -r*sin(t)); 0<=t<2*pi. The tangent vector is then (-r*sin(t), -r*cos(t)) = (y, -x). All that is left is to normalise it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.