A Charge in a Gaussian Cube
Q. A point charge of 2.0 μCμC is at the centre of a cubic Gaussian surface 9.0 cm on edge. What is the net electric flux through the surface, in N m²/C?
Inputs
Outputs
flux?
How it's solved
Solved with GausssLaw
Given
- μC
Find .
Working
- μCC
- gausss law(cube)
- N m²/C
- N m²/Cto 3 significant figures
Conclusion
The flux through a closed surface depends only on the charge inside, so the size of the cube does not matter.
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.
1require_relative "../physics"23question :a_charge_in_a_gaussian_cube do4 kind :numerical5 describes "A point charge of %{charge} is at the centre of a cubic Gaussian surface 9.0 cm on edge. %{flux}, in " \6 "N m²/C?"7 given charge: "2.0 μC"8 asks flux: "What is the net electric flux through the surface"9end1require_relative "../questions/a_charge_in_a_gaussian_cube"2require_relative "../science/electric_charges_and_fields/gausss_law"34solve :a_charge_in_a_gaussian_cube, using: GausssLaw do5 objects :cube67 take charge: cube.charge_inside89 flux = cube.electric_flux10 answer flux:, in: "N m2/C", figures: 31112 conclusion "The flux through a closed surface depends only on the charge inside, so the size of the cube does " \13 "not matter."14endplayground.rb
1require_relative "../solutions/a_charge_in_a_gaussian_cube"23play_with :a_charge_in_a_gaussian_cube do4 title "A Charge in a Gaussian Cube"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| pi | — | 0 … ∞ | GausssLaw | |
| permittivity of free space | F/m | — | GausssLaw | |
| field strength | V/m | — | GausssLaw | |
| area | m² | — | GausssLaw | |
| radius | m | 0 … ∞ | GausssLaw | |
| electric flux | N m²/C | — | GausssLaw | |
| charge inside | C | — | GausssLaw | |
| diameter | m | 0 … ∞ | GausssLaw | |
| surface charge density | C/m² | — | GausssLaw | |
| linear charge density | C/m | — | GausssLaw | |
| field near a line | V/m | — | GausssLaw | |
| field between plates | V/m | — | GausssLaw | |
| area of ground | m² | — | ||
| radius of ground | m | 0 … ∞ | ||
| area of cube | m² | — | ||
| radius of cube | m | 0 … ∞ | ||
| electric flux of ground | N m²/C | — | ||
| electric flux of cube | N m²/C | — | ||
| charge inside of ground | C | — | ||
| charge inside of cube | C | — | ||
| diameter of ground | m | 0 … ∞ | ||
| diameter of cube | m | 0 … ∞ | ||
| surface charge density of ground | C/m² | — | ||
| surface charge density of cube | C/m² | — | ||
| field near a line of ground | V/m | — | ||
| linear charge density of ground | C/m | — | ||
| field near a line of cube | V/m | — | ||
| linear charge density of cube | C/m | — | ||
| field between plates of ground | V/m | — | ||
| field between plates of cube | V/m | — |