play phryzby with physics

A Dipole on the z Axis

solved DipoleInAField

Q. A system has two charges qA = 2.5 × 10⁻⁷ Cq=2.5×10−7C and qB = –2.5 × 10⁻⁷ Cq=2.5×10−7C located at points A: (0, 0, –15 cm) and B: (0, 0, +15 cm)l=30cm, respectively. What is the electric dipole moment of the system, in C m?

+−p = ?q = 2.5×10⁻⁷ Cl = 0.3 m
Inputs
q
2.5e-07 C
Outputs
momentp?

How it's solved

Solved with DipoleInAField

Given

  • q=2.5×10−7C
  • l=30cm from “(0, 0, –15 cm) and B: (0, 0, +15 cm)”

Find p.

Working
  1. l=30cm=0.3m
  2. moment of a pair of charges(dipole)p=q⋅l
  3. p=2.5×10−7⋅0.3
  4. p=7.5×10−8C m
  5. p≈7.5×10−8C mto 2 significant figures
Conclusion

Equal and opposite charges cancel in total, but held apart they make a dipole whose moment is the charge times 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.

question.rb
1require_relative "../physics"23question :a_dipole_on_the_z_axis do4  kind :numerical5  describes "A system has two charges qA = %{charge} and qB = –%{charge} located at points A: (0, 0, –15 cm) and " \6            "B: (0, 0, +15 cm), respectively. %{moment}, in C m?"7  given charge: "2.5e-7 C"8  asks moment: "What is the electric dipole moment of the system"9end
solution.rb
1require_relative "../questions/a_dipole_on_the_z_axis"2require_relative "../science/electrostatic_potential_and_capacitance/dipole_in_a_field"34solve :a_dipole_on_the_z_axis, using: DipoleInAField do5  objects :dipole67  take charge: dipole.charge89  deduce_from "(0, 0, –15 cm) and B: (0, 0, +15 cm)", dipole.length_of_the_dipole => "30 cm"1011  moment = dipole.dipole_moment12  answer moment:, in: "C m", figures: 21314  conclusion "Equal and opposite charges cancel in total, but held apart they make a dipole whose moment is the " \15             "charge times the distance between them."16end
playground.rb
1require_relative "../solutions/a_dipole_on_the_z_axis"23play_with :a_dipole_on_the_z_axis do4  title "A Dipole on the z Axis"5end
The laws it drew on
quantitywrittenunitswithinfrom
field strengthEV/m—DipoleInAField
dipole momentpC m—DipoleInAField
angle to the fieldθ—0 … 3.142DipoleInAField
potential energyUJ—DipoleInAField
heat given outQJ—DipoleInAField
chargeqC—DipoleInAField
length of the dipolelm—DipoleInAField
torqueτJ—DipoleInAField
dipole moment of groundpgC m—
charge of groundqgC—
length of the dipole of groundlgm—
dipole moment of dipolepC m—
charge of dipoleqC—
length of the dipole of dipolelm—
torque on groundτgJ—
angle to the field of groundθg—0 … 3.142
torque on dipoleτJ—
angle to the field of dipoleθ—0 … 3.142
pd=qd⋅ld
moment of a pair of charges
τd(moment)=pd⋅E⋅sin⁡θd(moment)
torque on a dipole
pg=qg⋅lg
moment of a pair of charges(ground)
p=q⋅l
moment of a pair of charges(dipole)
τg=pg⋅E⋅sin⁡θg
torque on a dipole(ground)
τ=p⋅E⋅sin⁡θ
torque on a dipole(dipole)