Modeling the electric field due to parallel plates with a BUNCH of points and python

preview_player
Показать описание
I wanted to show that the electric field inside parallel plates is constant - BUT I didn't want to use calculus. Instead, I used 20,000 points and python.

Here is the code
Рекомендации по теме
Комментарии
Автор

I think the problem you were having in the original code was that you did not provide all the arguments to the function, hence they were undefined within the function. You only gave the vector E(ro) and not the list of points as well E(ro, qL, qR)

stephenvella
Автор

I love this... fantastic piece of work, thanks for putting this out there into the nerdosphere :)

jezza
Автор

I liked it. This is very customizable and that makes it versatile, IMO. 🙂

fizixx
Автор

Podrías hacer la misma animación pero que tuviera en cuenta los efectos de borde? gracias

lionelmartinez
Автор

Cool idea. Just iterative algorithms in plain python are terribly slow. You should use Numpy, at least.

paaabl.