play phryzby with physics

A Twelve Picofarad Capacitor

solved Capacitance

Q. A 12 pFC=12pF capacitor is connected to a 50 VV=50V battery. How much electrostatic energy is stored in the capacitor, in joules?

+−+−+−+−+−C = 1.2×10⁻¹¹ FQV = 50 V
Inputs
C
12 pF
V
50 V
Outputs
energyU?

How it's solved

Solved with Capacitance

Given

  • C=12pF
  • V=50V

Find U.

Working
  1. C=12pF=1.2×10−11F
  2. energy in a capacitor(capacitor)U=C⋅V22
  3. U=1.2×10−11⋅5022
  4. U=1.5×10−8J
  5. U≈1.5×10−8Jto 2 significant figures
Conclusion

Charging a capacitor takes work against the charge already on it, and that work is stored as half the capacitance times the square of the voltage.

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_twelve_picofarad_capacitor do4  kind :numerical5  describes "A %{capacitance} capacitor is connected to a %{battery} battery. %{energy}, in joules?"6  given capacitance: "12 pF"7  given battery: "50 V"8  asks energy: "How much electrostatic energy is stored in the capacitor"9end
solution.rb
1require_relative "../questions/a_twelve_picofarad_capacitor"2require_relative "../science/electrostatic_potential_and_capacitance/capacitance"34solve :a_twelve_picofarad_capacitor, using: Capacitance do5  objects :capacitor67  take capacitance: capacitor.capacitance8  take battery: capacitor.voltage910  energy = capacitor.energy_stored11  answer energy:, in: "J", figures: 21213  conclusion "Charging a capacitor takes work against the charge already on it, and that work is stored as " \14             "half the capacitance times the square of the voltage."15end
playground.rb
1require_relative "../solutions/a_twelve_picofarad_capacitor"23play_with :a_twelve_picofarad_capacitor do4  title "A Twelve Picofarad Capacitor"5end
The laws it drew on
quantitywrittenunitswithinfrom
permittivity of free spaceε0F/m—Capacitance
capacitanceCF0 … ∞Capacitance
chargeQC—Capacitance
voltageVV—Capacitance
energy storedUJ—Capacitance
areaAm²—Capacitance
plate separationdm—Capacitance
dielectric constantK——Capacitance
charge of groundQgC—
capacitance of groundCgF0 … ∞
voltage of groundVgV—
charge of capacitorQC—
capacitance of capacitorCF0 … ∞
voltage of capacitorVV—
dielectric constant of groundKg——
area of groundAgm²—
plate separation of grounddgm—
dielectric constant of capacitorK——
area of capacitorAm²—
plate separation of capacitordm—
energy stored of groundUgJ—
energy stored of capacitorUJ—
Qc=Cc⋅Vc
charge on a capacitor
Cc=Kc⋅ε0⋅Acdc
a parallel plate capacitor
Uc=Cc⋅Vc22
energy in a capacitor
Qg=Cg⋅Vg
charge on a capacitor(ground)
Q=C⋅V
charge on a capacitor(capacitor)
Cg=Kg⋅ε0⋅Agdg
a parallel plate capacitor(ground)
C=K⋅ε0⋅Ad
a parallel plate capacitor(capacitor)
Ug=Cg⋅Vg22
energy in a capacitor(ground)
U=C⋅V22
energy in a capacitor(capacitor)