A Cylinder in a Field
Q. An electric field is uniform, of magnitude 200 N/CN/C, pointing away from the plane x = 0 on either side. A right circular cylinder of radius 5 cmcm has its centre at the origin and its axis along the x-axis, so that its flat faces stand across the field on either side. What is the net charge inside the cylinder, in coulombs?
Inputs
Outputs
charge?
How it's solved
Solved with GausssLaw
Given
- N/C
- cm
- from “on either side”
Find .
Working
- N/CV/m
- cmm
- a round face(face)
- m²
- flux through a face across the field(face)
- N m²/C
- on either side
- N m²/C
- gausss law(cylinder)
- C
- Cto 3 significant figures
Conclusion
The field leaves through both flat faces and runs along the curved side, so all the flux is through the faces; Gauss's law turns that flux into the charge inside.
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_cylinder_in_a_field do4 kind :numerical5 describes "An electric field is uniform, of magnitude %{field}, pointing away from the plane x = 0 on either side. " \6 "A right circular cylinder of radius %{radius} has its centre at the origin and its axis along the " \7 "x-axis, so that its flat faces stand across the field on either side. %{charge}, in coulombs?"8 given field: "200 N/C"9 given radius: "5 cm"10 asks charge: "What is the net charge inside the cylinder"11end1require_relative "../questions/a_cylinder_in_a_field"2require_relative "../science/electric_charges_and_fields/gausss_law"34solve :a_cylinder_in_a_field, using: GausssLaw do5 objects :face, :cylinder67 take field: E8 take radius: face.radius910 deduce_from "on either side", cylinder.electric_flux => 2 * face.electric_flux1112 charge = cylinder.charge_inside13 answer charge:, in: "C", figures: 31415 conclusion "The field leaves through both flat faces and runs along the curved side, so all the flux is " \16 "through the faces; Gauss's law turns that flux into the charge inside."17endplayground.rb
1require_relative "../solutions/a_cylinder_in_a_field"23play_with :a_cylinder_in_a_field do4 title "A Cylinder in a Field"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 face | m² | — | ||
| radius of face | m | 0 … ∞ | ||
| area of cylinder | m² | — | ||
| radius of cylinder | m | 0 … ∞ | ||
| electric flux of ground | N m²/C | — | ||
| electric flux of face | N m²/C | — | ||
| electric flux of cylinder | N m²/C | — | ||
| charge inside of ground | C | — | ||
| charge inside of face | C | — | ||
| charge inside of cylinder | C | — | ||
| diameter of ground | m | 0 … ∞ | ||
| diameter of face | m | 0 … ∞ | ||
| diameter of cylinder | m | 0 … ∞ | ||
| surface charge density of ground | C/m² | — | ||
| surface charge density of face | C/m² | — | ||
| surface charge density of cylinder | C/m² | — | ||
| field near a line of ground | V/m | — | ||
| linear charge density of ground | C/m | — | ||
| field near a line of face | V/m | — | ||
| linear charge density of face | C/m | — | ||
| field near a line of cylinder | V/m | — | ||
| linear charge density of cylinder | C/m | — | ||
| field between plates of ground | V/m | — | ||
| field between plates of face | V/m | — | ||
| field between plates of cylinder | V/m | — |