play phryzby with physics

Flux Through a Square

solved GausssLaw

Q. Consider a uniform electric field E = 3 × 10³ N/CE=3×103N/C along x. What is the flux of this field through a square of 10 cm on a sideA=100cm² whose plane is parallel to the yz plane, in N m²/C?

E = 3000 N/CΦ = ?A = 0.01 m²
Inputs
E
3000 N/C
Outputs
fluxΦ?

How it's solved

Solved with GausssLaw

Given

  • E=3×103N/C
  • A=100cm² from “a square of 10 cm on a side”

Find Φ.

Working
  1. E=3×103N/C=3000V/m
  2. A=100cm²=0.01m²
  3. flux through a face across the field(square)Φ=E⋅A
  4. Φ=3000⋅0.01
  5. Φ=30N m²/C
  6. Φ≈30N m²/Cto 2 significant figures
Conclusion

A plane parallel to the yz plane stands square across a field along x, so the whole of its area catches the field.

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_through_a_square do4  kind :numerical5  describes "Consider a uniform electric field E = %{field} along x. %{flux} of this field through a square of " \6            "10 cm on a side whose plane is parallel to the yz plane, in N m²/C?"7  given field: "3e3 N/C"8  asks flux: "What is the flux"9end
solution.rb
1require_relative "../questions/flux_through_a_square"2require_relative "../science/electric_charges_and_fields/gausss_law"34solve :flux_through_a_square, using: GausssLaw do5  objects :square67  take field: E89  deduce_from "a square of 10 cm on a side", square.area => "100 cm2"1011  flux = square.electric_flux12  answer flux:, in: "N m2/C", figures: 21314  conclusion "A plane parallel to the yz plane stands square across a field along x, so the whole of its area " \15             "catches the field."16end
playground.rb
1require_relative "../solutions/flux_through_a_square"23play_with :flux_through_a_square do4  title "Flux Through 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 squareAm²—
radius of squarerm0 … ∞
electric flux of groundΦgN m²/C—
electric flux of squareΦN m²/C—
charge inside of groundqgC—
charge inside of squareqC—
diameter of groundDgm0 … ∞
diameter of squareDm0 … ∞
surface charge density of groundσgC/m²—
surface charge density of squareσC/m²—
field near a line of groundEl,gV/m—
linear charge density of groundλgC/m—
field near a line of squareElV/m—
linear charge density of squareλC/m—
field between plates of groundEp,gV/m—
field between plates of squareEpV/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(square)
Φg=E⋅Ag
flux through a face across the field(ground)
Φ=E⋅A
flux through a face across the field(square)
Φg=qgε0
gausss law(ground)
Φ=qε0
gausss law(square)
Ag=π⋅Dg2
the surface of a sphere(ground)
A=π⋅D2
the surface of a sphere(square)
qg=σg⋅Ag
charge spread over a surface(ground)
q=σ⋅A
charge spread over a surface(square)
El,g=λg2⋅π⋅ε0⋅rg
field of a long line of charge(ground)
El=λ2⋅π⋅ε0⋅r
field of a long line of charge(square)
Ep,g=σgε0
field between charged plates(ground)
Ep=σε0
field between charged plates(square)