Tighten up label positioning in Serway and Jewett v8's problem 23.09.
authorW. Trevor King <wking@drexel.edu>
Thu, 12 Apr 2012 08:03:17 +0000 (04:03 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 12 Apr 2012 08:03:17 +0000 (04:03 -0400)
latex/problems/Serway_and_Jewett_8/problem23.09.tex

index 48e7934c22c4ac29ac13a131776aaedc8204f6c5..1b2b518121e35ba1edbbdb307a98871fe123a860 100644 (file)
@@ -11,16 +11,16 @@ force on the particle at the origin.
 import Mechanics;
 import ElectroMag;
 
-real u = 16cm;
+real u = 12cm;
 
 Charge a = pCharge((0,0), 5, L=Label("$5.00\U{nC}$", align=N));
 Charge b = pCharge((0.3u,0), 6, L=Label("$6.00\U{nC}$", align=N));
 Charge c = nCharge((0,-0.1u), -3, L=Label("$-3.00\U{nC}$", align=S));
 Distance dab = Distance(a.center(), b.center(), scale=u, L="$0.300\U{m}$");
-Distance dac = Distance(
-    a.center(), c.center(), offset=-0.1u, scale=u, L="$0.100\U{m}$");
+Distance dac = Distance(a.center(), c.center(), scale=u,
+    L=Label("$0.100\U{m}$", align=E, embed=Shift));
 a.draw(); b.draw(); c.draw(); dab.draw(); dac.draw();
-draw_ijhat((-0.1u,-0.08u));
+draw_ijhat((-0.1u,-0.05u));
 \end{asy}
 \end{center}
 \end{problem*}