Two Small Spheres Thirty Centimetres Apart
Q. Two small charged spheres having charges of 2 × 10⁻⁷ CC and 3 × 10⁻⁷ CC are placed 30 cmcm apart in air. What is the force between them, in newtons?
Inputs
Outputs
force?
How it's solved
Solved with CoulombsLaw
Given
- C
- C
- cm
Find .
Working
- cmm
- coulombs law(first, second)
- N
- Nto 2 significant figures
Conclusion
Like charges push each other apart with a force that grows with each charge and falls off as the square of the distance between them.
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 :two_small_spheres_thirty_centimetres_apart do4 kind :numerical5 describes "Two small charged spheres having charges of %{first} and %{second} are placed %{apart} apart in air. " \6 "%{force}, in newtons?"7 given first: "2e-7 C"8 given second: "3e-7 C"9 given apart: "30 cm"10 asks force: "What is the force between them"11end1require_relative "../questions/two_small_spheres_thirty_centimetres_apart"2require_relative "../science/electric_charges_and_fields/coulombs_law"34solve :two_small_spheres_thirty_centimetres_apart, using: CoulombsLaw do5 objects :first, :second67 take first: first.charge8 take second: second.charge9 take apart: first.separation(from: second)1011 force = first.electric_force(by: second)12 answer force:, in: "N", figures: 21314 conclusion "Like charges push each other apart with a force that grows with each charge and falls off as the " \15 "square of the distance between them."16endplayground.rb
1require_relative "../solutions/two_small_spheres_thirty_centimetres_apart"23play_with :two_small_spheres_thirty_centimetres_apart do4 title "Two Small Spheres Thirty Centimetres Apart"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 … ∞ |