play phryzby with physics

A Coulomb One Electron at a Time

solved ElectricCharge

Q. If 1 × 10⁹ s⁻¹ndot=1×109s⁻¹ electrons move out of a body to another body every second, how much time is required to get a total charge of 1 Cq=1C on the other body?

+other body 1 Cn
Inputs
ndot
1e+09 s⁻¹
q
1 C
Outputs
timet?

How it's solved

Solved with ElectricCharge

Given

  • ndot=1×109s⁻¹
  • q=1C

Find t.

Working
  1. charge comes in whole electrons(other body)q=n⋅e
  2. 1=n⋅1.60217663×10−19
  3. n=6.24150907×1018
  4. charges gathered over a time(other body)n=ndot⋅t
  5. 6.24150907×1018=1×109⋅t
  6. t=197.8y
  7. t=6.24150907×109s=197.781488y
  8. t≈198yto 3 significant figures
Conclusion

A coulomb is a vast number of electrons, so even a billion a second takes about two centuries to gather one.

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 :a_coulomb_one_electron_at_a_time do4  kind :numerical5  describes "If %{rate} electrons move out of a body to another body every second, %{time} to get a total charge of " \6            "%{charge} on the other body?"7  given rate: "1e9 s-1"8  given charge: "1 C"9  asks time: "how much time is required"10end
solution.rb
1require_relative "../questions/a_coulomb_one_electron_at_a_time"2require_relative "../science/electric_charges_and_fields/electric_charge"34solve :a_coulomb_one_electron_at_a_time, using: ElectricCharge do5  objects :other_body67  take rate: other_body.charges_a_second8  take charge: other_body.charge910  time = other_body.charging_time11  answer time:, in: "y", figures: 31213  conclusion "A coulomb is a vast number of electrons, so even a billion a second takes about two " \14             "centuries to gather one."15end
playground.rb
1require_relative "../solutions/a_coulomb_one_electron_at_a_time"23play_with :a_coulomb_one_electron_at_a_time do4  title "A Coulomb One Electron at a Time"5end
The laws it drew on
quantitywrittenunitswithinfrom
elementary chargeeC—ElectricCharge
chargeqC—ElectricCharge
number of chargesn——ElectricCharge
charges a secondndots⁻¹—ElectricCharge
charging timets0 … 1e+12ElectricCharge
charge of groundqgC—
number of charges of groundng——
charge of other bodyqC—
number of charges of other bodyn——
charges a second of groundndot,gs⁻¹—
charging time of groundtgs0 … 1e+12
charges a second of other bodyndots⁻¹—
charging time of other bodyts0 … 1e+12
qb=nb⋅e
charge comes in whole electrons
nb=ndot,b⋅tb
charges gathered over a time
qg=ng⋅e
charge comes in whole electrons(ground)
q=n⋅e
charge comes in whole electrons(other body)
ng=ndot,g⋅tg
charges gathered over a time(ground)
n=ndot⋅t
charges gathered over a time(other body)