Bringing In a Charge
Q. A charge of 4 × 10⁻⁷ CC is located 9 cmcm from a point P. What is the work done in bringing a charge of 2 × 10⁻⁹ CC from infinity to the point P, in joules?
Inputs
Outputs
work?
How it's solved
Solved with ElectrostaticPotential
Given
- C
- cm
- C
Find .
Working
- cmm
- potential of a point charge(brought, source)
- V
- work is charge times potential(brought, source)
- J
- Jto 2 significant figures
Conclusion
The potential at P is the work per unit charge to bring a charge there from far away, by any path; the charge brought in times that potential is the work.
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 :bringing_in_a_charge do4 kind :numerical5 describes "A charge of %{source} is located %{distance} from a point P. %{work} in bringing a charge of %{brought} " \6 "from infinity to the point P, in joules?"7 given source: "4e-7 C"8 given distance: "9 cm"9 given brought: "2e-9 C"10 asks work: "What is the work done"11end1require_relative "../questions/bringing_in_a_charge"2require_relative "../science/electrostatic_potential_and_capacitance/electrostatic_potential"34solve :bringing_in_a_charge, using: ElectrostaticPotential do5 objects :source, :brought67 take source: source.charge8 take distance: brought.distance(from: source)9 take brought: brought.charge1011 work = brought.work_to_bring_in(by: source)12 answer work:, in: "J", figures: 21314 conclusion "The potential at P is the work per unit charge to bring a charge there from far away, by any " \15 "path; the charge brought in times that potential is the work."16endplayground.rb
1require_relative "../solutions/bringing_in_a_charge"23play_with :bringing_in_a_charge do4 title "Bringing In a Charge"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| coulomb constant | N m² C⁻² | — | ElectrostaticPotential | |
| charge | C | — | ElectrostaticPotential | |
| distance | m | — | ElectrostaticPotential | |
| potential | V | — | ElectrostaticPotential | |
| work to bring in | J | — | ElectrostaticPotential | |
| potential of ground by source | V | — | ||
| charge of source | C | — | ||
| distance of ground from source | m | — | ||
| potential of ground by brought | V | — | ||
| charge of brought | C | — | ||
| distance of ground from brought | m | — | ||
| potential of source by ground | V | — | ||
| charge of ground | C | — | ||
| distance of source from ground | m | — | ||
| potential of source by brought | V | — | ||
| distance of source from brought | m | — | ||
| potential of brought by ground | V | — | ||
| distance of brought from ground | m | — | ||
| potential of brought by source | V | — | ||
| distance of brought from source | m | — | ||
| work to bring in on ground by source | J | — | ||
| work to bring in on ground by brought | J | — | ||
| work to bring in on source by ground | J | — | ||
| work to bring in on source by brought | J | — | ||
| work to bring in on brought by ground | J | — | ||
| work to bring in on brought by source | J | — |