Some basic examples of the Coulomb force and how electric charges move through a uniform electric field.
Edit and compile if you like:
% Author: Izaak Neutelings (July 2018)% page 8 https://archive.org/details/StaticAndDynamicElectricity% https://tex.stackexchange.com/questions/56353/extract-x-y-coordinate-of-an-arbitrary-point-on-curve-in-tikz% https://tex.stackexchange.com/questions/412899/tikz-calculate-and-store-the-euclidian-distance-between-two-coordinates\documentclass[border=3pt,tikz]{standalone}\usepackage{amsmath} % for \dfrac\usepackage{mathabx} % for \Earth\usepackage{bm} % \bm\usepackage{physics}\usepackage{tikz,pgfplots}\usepackage[outline]{contour} % glow around text\usetikzlibrary{angles,quotes} % for pic (angle labels)\usetikzlibrary{calc}\usetikzlibrary{decorations.markings}\tikzset{>=latex} % for LaTeX arrow head\contourlength{1.6pt}\usepackage{xcolor}\colorlet{Ecol}{orange!90!black}\colorlet{EcolFL}{orange!80!black}\colorlet{veccol}{green!45!black}\colorlet{EFcol}{red!60!black}\tikzstyle{EcolEP}=[blue!80!white]\tikzstyle{charged}=[top color=blue!30,bottom color=blue!50,shading angle=10]\tikzstyle{darkcharged}=[very thin,top color=blue!60,bottom color=blue!80,shading angle=10]\tikzstyle{charge+}=[very thin,top color=red!50,bottom color=red!90!black,shading angle=20]\tikzstyle{charge-}=[very thin,top color=blue!50,bottom color=blue!80,shading angle=20]\tikzstyle{gauss surf}=[blue!90!black,top color=blue!2,bottom color=blue!80!black!70,shading angle=5,fill opacity=0.1]\tikzstyle{gauss line}=[blue!90!black]\tikzstyle{vector}=[->,very thick,veccol]\tikzset{EFieldLine/.style={thick,EcolFL,decoration={markings,mark=at position #1 with {\arrow{latex}}},postaction={decorate}},EFieldLine/.default=0.5}\tikzstyle{measure}=[fill=white,midway,outer sep=2]\def\L{8}\def\W{0.25}\def\N{14}\begin{document}
Click to download: electric_field.tex • electric_field.pdf
Open in Overleaf: electric_field.tex