A Charge Above a Square
Q. A point charge 10 μCμ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 with edge 10 cm.)
Inputs
Outputs
flux?
How it's solved
Solved with GausssLaw
Given
- μC
- from “one face of a cube”
Find .
Working
- μCC
- gausss law(cube)
- N m²/C
- one face of a cube
- N m²/C
- N 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.
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"9end1require_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."16endplayground.rb
1require_relative "../solutions/a_charge_above_a_square"23play_with :a_charge_above_a_square do4 title "A Charge Above a Square"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 square | m² | — | ||
| radius of square | m | 0 … ∞ | ||
| area of cube | m² | — | ||
| radius of cube | m | 0 … ∞ | ||
| electric flux of ground | N m²/C | — | ||
| electric flux of square | N m²/C | — | ||
| electric flux of cube | N m²/C | — | ||
| charge inside of ground | C | — | ||
| charge inside of square | C | — | ||
| charge inside of cube | C | — | ||
| diameter of ground | m | 0 … ∞ | ||
| diameter of square | m | 0 … ∞ | ||
| diameter of cube | m | 0 … ∞ | ||
| surface charge density of ground | C/m² | — | ||
| surface charge density of square | 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 square | V/m | — | ||
| linear charge density of square | 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 square | V/m | — | ||
| field between plates of cube | V/m | — |