File talk:VFPt metal ball neutral.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

It seems like there is some necessary code missing, which I'm guessing looks like this:

import scipy.integrate as ig import scipy.optimize as op import scipy as sc

def rot(p,angle):

 return [p[0]*cos(angle)-p[1]*sin(angle),p[1]*cos(angle)+p[1]*sin(angle)]

The code still doesn't produce the correct results. The integration routine complains a lot, and the spacing of the resulting field lines is wrong. — Preceding unsigned comment was added by 2605:E000:87C5:1200:29E4:985C:14C:5506 (talk) 21:46, 5 July 2019 (UTC)[reply]