It was... unnecessarily difficult, getting Mathematica to plot a small set of electric field lines for a simple set of charges.
None of the built-in plot types (StreamPlot, etc) are compatible with all the standard rules for field lines!
It was... unnecessarily difficult, getting Mathematica to plot a small set of electric field lines for a simple set of charges.
None of the built-in plot types (StreamPlot, etc) are compatible with all the standard rules for field lines!
Basically had to numerically solve for the integral curves from a set of starting points around the charge, and extend them until they reached the other charge.
It should not be this involved! But visualizations like StreamPlot aren't consistent with all the rules for field lines that we teach in intro classes, and the problems become more pronounced when there are more than two charges. Yikes.
@sudnadja Oh nice, thanks for the link! I'll have a look at how they draw their diagrams. Unfortunately, that demo does things like draw colliding field lines. But it's better than other examples I've seen.
@mcnees That looks fairly similar to the example that's in the wolfram demonstrations project: https://demonstrations.wolfram.com/ElectricFieldLinesDueToACollectionOfPointCharges/
@sudnadja Oh wow, I did not know that. Thanks!
@mcnees also don’t underestimate the help you can get if you have a support contract, even things like programming help.
Chirp! is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Chirp! content and data are available under the Creative Commons Attribution 3.0 license.