play phryzby with physics

A Charge Above a Square

solved GausssLaw

Q. A point charge 10 μCqc=10μC is a distance 5 cm directly above the centre of a square of side 10 cm. What is the magnitude of the electric flux through the square, in N m²/C? (Hint: Think of the square as one face of a cubeΦs=Φc6 with edge 10 cm.)

Q = 1×10⁻⁵ C
Inputs
qc
10 μC
Outputs
fluxΦs?

How it's solved

Solved with GausssLaw

Given

  • qc=10μC
  • Φs=Φc6 from “one face of a cube”

Find Φs.

Working
  1. qc=10μC=1×10−5C
  2. gausss law(cube)Φc=qcε0
  3. Φc=1×10−58.85418781×10−12
  4. Φc=1.12940907×106N m²/C
  5. one face of a cubeΦs=Φc6
  6. Φs=1.12940907×1066
  7. Φs=188200N m²/C
  8. Φs≈1.88×105N m²/Cto 3 significant figures
Conclusion

The charge sits at the centre of a cube with the square as one face, so the flux through the cube shares out equally among its six faces.

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_charge_above_a_square do4  kind :numerical5  describes "A point charge %{charge} is a distance 5 cm directly above the centre of a square of side 10 cm. " \6            "%{flux}? (Hint: Think of the square as one face of a cube with edge 10 cm.)"7  given charge: "10 μC"8  asks flux: "What is the magnitude of the electric flux through the square, in N m²/C"9end
solution.rb
1require_relative "../questions/a_charge_above_a_square"2require_relative "../science/electric_charges_and_fields/gausss_law"34solve :a_charge_above_a_square, using: GausssLaw do5  objects :square, :cube67  take charge: cube.charge_inside89  deduce_from "one face of a cube", square.electric_flux => cube.electric_flux / 61011  flux = square.electric_flux12  answer flux:, in: "N m2/C", figures: 31314  conclusion "The charge sits at the centre of a cube with the square as one face, so the flux through the cube " \15             "shares out equally among its six faces."16end
playground.rb
1require_relative "../solutions/a_charge_above_a_square"23play_with :a_charge_above_a_square do4  title "A Charge Above a Square"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 squareAsm²—
radius of squarersm0 … ∞
area of cubeAcm²—
radius of cubercm0 … ∞
electric flux of groundΦgN m²/C—
electric flux of squareΦsN m²/C—
electric flux of cubeΦcN m²/C—
charge inside of groundqgC—
charge inside of squareqsC—
charge inside of cubeqcC—
diameter of groundDgm0 … ∞
diameter of squareDsm0 … ∞
diameter of cubeDcm0 … ∞
surface charge density of groundσgC/m²—
surface charge density of squareσsC/m²—
surface charge density of cubeσcC/m²—
field near a line of groundEl,gV/m—
linear charge density of groundλgC/m—
field near a line of squareEl,sV/m—
linear charge density of squareλsC/m—
field near a line of cubeEl,cV/m—
linear charge density of cubeλcC/m—
field between plates of groundEp,gV/m—
field between plates of squareEp,sV/m—
field between plates of cubeEp,cV/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)
As=π⋅rs2
a round face(square)
Ac=π⋅rc2
a round face(cube)
Φg=E⋅Ag
flux through a face across the field(ground)
Φs=E⋅As
flux through a face across the field(square)
Φc=E⋅Ac
flux through a face across the field(cube)
Φg=qgε0
gausss law(ground)
Φs=qsε0
gausss law(square)
Φc=qcε0
gausss law(cube)
Ag=π⋅Dg2
the surface of a sphere(ground)
As=π⋅Ds2
the surface of a sphere(square)
Ac=π⋅Dc2
the surface of a sphere(cube)
qg=σg⋅Ag
charge spread over a surface(ground)
qs=σs⋅As
charge spread over a surface(square)
qc=σc⋅Ac
charge spread over a surface(cube)
El,g=λg2⋅π⋅ε0⋅rg
field of a long line of charge(ground)
El,s=λs2⋅π⋅ε0⋅rs
field of a long line of charge(square)
El,c=λc2⋅π⋅ε0⋅rc
field of a long line of charge(cube)
Ep,g=σgε0
field between charged plates(ground)
Ep,s=σsε0
field between charged plates(square)
Ep,c=σcε0
field between charged plates(cube)
Φs=Φc6
one face of a cube