$F$?
\end{problem*} % problem 19.4
-\empaddtoprelude{
- pair A, B;
- A := origin;
- B := (3cm, 0);
- def drawB =
- draw_pcharge(A, 6pt);
- draw_pcharge(B, 6pt);
- label.bot("r", draw_length(A, B, 10pt));
- enddef;
-}
-
\begin{nosolution}
\begin{center}
-\begin{empfile}[2ns]
-\begin{emp}(0cm, 0cm)
- drawB;
-\end{emp}
-\end{empfile}
+\begin{asy}
+import ElectroMag;
+
+real u = 0.5cm;
+Charge a = pCharge(); a.draw();
+Charge b = pCharge((3u, 0)); b.draw();
+Distance dab = Distance(a.center(), b.center(), scale=u, L="$r$"); dab.draw();
+\end{asy}
\end{center}
\end{nosolution}
\begin{solution}
\begin{center}
-\begin{empfile}[2]
-\begin{emp}(0cm, 0cm)
- label.top("F", draw_force(A, B, 20pt));
- drawB;
-\end{emp}
-\end{empfile}
+\begin{asy}
+import ElectroMag;
+
+real u = 1cm;
+Charge a = pCharge(); a.draw();
+Charge b = pCharge((1.25u, 0)); b.draw();
+Distance dab = Distance(a.center(), b.center(), scale=u, L="$r$"); dab.draw();
+Charge cs[] = {a, b};
+CoulombForces(cs, scale=u, unit=u);
+\end{asy}
\end{center}
\begin{equation}