play phryzby with physics

Flux out of a Black Box

solved GausssLaw

Q. Careful measurement of the electric field at the surface of a black box indicates that the net outward flux through the surface of the box is 8.0 × 10³ N m²/CΦ=8.0×103N m²/C. What is the net charge inside the box, in μC?

Q = ?Φ = 8000 N·m²/C
Inputs
Φ
8000 N m²/C
Outputs
chargeq?

How it's solved

Solved with GausssLaw

Given

  • Φ=8.0×103N m²/C

Find q.

Working
  1. gausss law(box)Φ=qε0
  2. 8000=q8.85418781×10−12
  3. q=0.07083μC
  4. q=7.08335025×10−8C=0.0708335025μC
  5. q≈0.07μCto 1 significant figure
Conclusion

Gauss's law ties the net flux out of any closed surface to the charge inside it, whatever the shape of the box.

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 :flux_out_of_a_black_box do4  kind :numerical5  describes "Careful measurement of the electric field at the surface of a black box indicates that the net outward " \6            "flux through the surface of the box is %{flux}. %{charge}, in μC?"7  given flux: "8.0e3 N m2/C"8  asks charge: "What is the net charge inside the box"9end
solution.rb
1require_relative "../questions/flux_out_of_a_black_box"2require_relative "../science/electric_charges_and_fields/gausss_law"34solve :flux_out_of_a_black_box, using: GausssLaw do5  objects :box67  take flux: box.electric_flux89  charge = box.charge_inside10  answer charge:, in: "μC", figures: 11112  conclusion "Gauss's law ties the net flux out of any closed surface to the charge inside it, whatever the " \13             "shape of the box."14end
playground.rb
1require_relative "../solutions/flux_out_of_a_black_box"23play_with :flux_out_of_a_black_box do4  title "Flux out of a Black Box"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞GausssLaw
permittivity of free spaceε0F/m—GausssLaw
field strengthEV/m—GausssLaw
areaAm²—GausssLaw
radiusrm0 … ∞GausssLaw
electric fluxΦN m²/C—GausssLaw
charge insideqC—GausssLaw
diameterDm0 … ∞GausssLaw
surface charge densityσC/m²—GausssLaw
linear charge densityλC/m—GausssLaw
field near a lineElV/m—GausssLaw
field between platesEpV/m—GausssLaw
area of groundAgm²—
radius of groundrgm0 … ∞
area of boxAm²—
radius of boxrm0 … ∞
electric flux of groundΦgN m²/C—
electric flux of boxΦN m²/C—
charge inside of groundqgC—
charge inside of boxqC—
diameter of groundDgm0 … ∞
diameter of boxDm0 … ∞
surface charge density of groundσgC/m²—
surface charge density of boxσC/m²—
field near a line of groundEl,gV/m—
linear charge density of groundλgC/m—
field near a line of boxElV/m—
linear charge density of boxλC/m—
field between plates of groundEp,gV/m—
field between plates of boxEpV/m—
Af=π⋅rf2
a round face
Φf=E⋅Af
flux through a face across the field
Φs=qsε0
gausss law
As=π⋅Ds2
the surface of a sphere
qs=σs⋅As
charge spread over a surface
El,l=λl2⋅π⋅ε0⋅rl
field of a long line of charge
Ep,p=σpε0
field between charged plates
Ag=π⋅rg2
a round face(ground)
A=π⋅r2
a round face(box)
Φg=E⋅Ag
flux through a face across the field(ground)
Φ=E⋅A
flux through a face across the field(box)
Φg=qgε0
gausss law(ground)
Φ=qε0
gausss law(box)
Ag=π⋅Dg2
the surface of a sphere(ground)
A=π⋅D2
the surface of a sphere(box)
qg=σg⋅Ag
charge spread over a surface(ground)
q=σ⋅A
charge spread over a surface(box)
El,g=λg2⋅π⋅ε0⋅rg
field of a long line of charge(ground)
El=λ2⋅π⋅ε0⋅r
field of a long line of charge(box)
Ep,g=σgε0
field between charged plates(ground)
Ep=σε0
field between charged plates(box)