play phryzby with physics

How Far Apart the Spheres Are

solved CoulombsLaw

Q. The electrostatic force on a small sphere of charge 0.4 μCqf=0.4μC due to another small sphere of charge –0.8 μCqs=0.8μC in air is 0.2 NFe,fs=0.2N. What is the distance between the two spheres, in cm?

++first 4×10⁻⁷ Csecond 8×10⁻⁷ Cr = ?F = 0.2 N
Inputs
qf
0.4 μC
qs
0.8 μC
Fe,fs
0.2 N
Outputs
distancerfs?

How it's solved

Solved with CoulombsLaw

Given

  • qf=0.4μC
  • qs=0.8μC
  • Fe,fs=0.2N

Find rfs.

Working
  1. qf=0.4μC=4×10−7C
  2. qs=0.8μC=8×10−7C
  3. coulombs law(first, second)Fe,fs=k⋅qf⋅qsrfs2
  4. 0.2=8.98755179×109⋅4×10−7⋅8×10−7rfs2
  5. rfs=11.99cm
  6. rfs=0.119916983m=11.9916983cm
  7. rfs≈12cmto 2 significant figures
Conclusion

The force falls off as the square of the distance, so knowing the charges and the pull between them fixes how far apart they must be.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :how_far_apart_the_spheres_are do4  kind :numerical5  describes "The electrostatic force on a small sphere of charge %{first} due to another small sphere of charge " \6            "–%{second} in air is %{force}. %{distance}, in cm?"7  given first: "0.4 μC"8  given second: "0.8 μC"9  given force: "0.2 N"10  asks distance: "What is the distance between the two spheres"11end
solution.rb
1require_relative "../questions/how_far_apart_the_spheres_are"2require_relative "../science/electric_charges_and_fields/coulombs_law"34solve :how_far_apart_the_spheres_are, using: CoulombsLaw do5  objects :first, :second67  take first: first.charge8  take second: second.charge9  take force: first.electric_force(by: second)1011  distance = first.separation(from: second)12  answer distance:, in: "cm", figures: 21314  conclusion "The force falls off as the square of the distance, so knowing the charges and the pull between " \15             "them fixes how far apart they must be."16end
playground.rb
1require_relative "../solutions/how_far_apart_the_spheres_are"23play_with :how_far_apart_the_spheres_are do4  title "How Far Apart the Spheres Are"5end
The laws it drew on
quantitywrittenunitswithinfrom
chargeqC—CoulombsLaw
coulomb constantkN m² C⁻²—CoulombsLaw
separationrm0 … ∞CoulombsLaw
electric forceFeN—CoulombsLaw
electric force on ground by firstFe,gfN—
charge of groundqgC—
charge of firstqfC—
separation of ground from firstrgfm0 … ∞
electric force on ground by secondFe,gsN—
charge of secondqsC—
separation of ground from secondrgsm0 … ∞
electric force on first by groundFe,fgN—
separation of first from groundrfm0 … ∞
electric force on first by secondFe,fsN—
separation of first from secondrfsm0 … ∞
electric force on second by groundFe,sgN—
separation of second from groundrsm0 … ∞
electric force on second by firstFe,sfN—
separation of second from firstrsfm0 … ∞
Fe,oo=k⋅qo⋅qoroo2
coulombs law
Fe,gf=k⋅qg⋅qfrgf2
coulombs law(ground, first)
Fe,gs=k⋅qg⋅qsrgs2
coulombs law(ground, second)
Fe,fg=k⋅qf⋅qgrf2
coulombs law(first, ground)
Fe,fs=k⋅qf⋅qsrfs2
coulombs law(first, second)
Fe,sg=k⋅qs⋅qgrs2
coulombs law(second, ground)
Fe,sf=k⋅qs⋅qfrsf2
coulombs law(second, first)