How Far Apart the Spheres Are
Q. The electrostatic force on a small sphere of charge 0.4 μCμC due to another small sphere of charge –0.8 μCμC in air is 0.2 NN. What is the distance between the two spheres, in cm?
Inputs
Outputs
distance?
How it's solved
Solved with CoulombsLaw
Given
- μC
- μC
- N
Find .
Working
- μCC
- μCC
- coulombs law(first, second)
- cm
- mcm
- cmto 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.
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"11end1require_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."16endplayground.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"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| charge | C | — | CoulombsLaw | |
| coulomb constant | N m² C⁻² | — | CoulombsLaw | |
| separation | m | 0 … ∞ | CoulombsLaw | |
| electric force | N | — | CoulombsLaw | |
| electric force on ground by first | N | — | ||
| charge of ground | C | — | ||
| charge of first | C | — | ||
| separation of ground from first | m | 0 … ∞ | ||
| electric force on ground by second | N | — | ||
| charge of second | C | — | ||
| separation of ground from second | m | 0 … ∞ | ||
| electric force on first by ground | N | — | ||
| separation of first from ground | m | 0 … ∞ | ||
| electric force on first by second | N | — | ||
| separation of first from second | m | 0 … ∞ | ||
| electric force on second by ground | N | — | ||
| separation of second from ground | m | 0 … ∞ | ||
| electric force on second by first | N | — | ||
| separation of second from first | m | 0 … ∞ |