The Centre of a Charged Hexagon
Q. A regular hexagon of side 10 cmcm has a charge 5 μCμC at each of its vertices. Calculate the potential at the centre of the hexagon, in volts?
Inputs
Outputs
potential?
How it's solved
Solved with ElectrostaticPotential
Given
- cm
- μC
- from “A regular hexagon”
- from “at each of its vertices”
Find .
Working
- cmm
- μCC
- at each of its vertices
- C
- A regular hexagon
- m
- potential of a point charge(centre, hexagon)
- V
- Vto 2 significant figures
Conclusion
A regular hexagon's vertices are each a side's length from its centre, so the six charges add their potentials there as if they were one charge six times as big.
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 :the_centre_of_a_charged_hexagon do4 kind :numerical5 describes "A regular hexagon of side %{side} has a charge %{charge} at each of its vertices. %{potential}, in " \6 "volts?"7 given side: "10 cm"8 given charge: "5 μC"9 asks potential: "Calculate the potential at the centre of the hexagon"10end1require_relative "../questions/the_centre_of_a_charged_hexagon"2require_relative "../science/electrostatic_potential_and_capacitance/electrostatic_potential"34solve :the_centre_of_a_charged_hexagon, using: ElectrostaticPotential do5 objects :vertex, :neighbour, :hexagon, :centre67 take side: vertex.distance(from: neighbour)8 take charge: vertex.charge910 deduce_from "A regular hexagon", centre.distance(from: hexagon) => vertex.distance(from: neighbour)11 deduce_from "at each of its vertices", hexagon.charge => 6 * vertex.charge1213 potential = centre.potential(by: hexagon)14 answer potential:, in: "V", figures: 21516 conclusion "A regular hexagon's vertices are each a side's length from its centre, so the six charges add " \17 "their potentials there as if they were one charge six times as big."18endplayground.rb
1require_relative "../solutions/the_centre_of_a_charged_hexagon"23play_with :the_centre_of_a_charged_hexagon do4 title "The Centre of a Charged Hexagon"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| coulomb constant | N m² C⁻² | — | ElectrostaticPotential | |
| charge | C | — | ElectrostaticPotential | |
| distance | m | — | ElectrostaticPotential | |
| potential | V | — | ElectrostaticPotential | |
| work to bring in | J | — | ElectrostaticPotential | |
| potential of ground by vertex | V | — | ||
| charge of vertex | C | — | ||
| distance of ground from vertex | m | — | ||
| potential of ground by neighbour | V | — | ||
| charge of neighbour | C | — | ||
| distance of ground from neighbour | m | — | ||
| potential of ground by hexagon | V | — | ||
| charge of hexagon | C | — | ||
| distance of ground from hexagon | m | — | ||
| potential of ground by centre | V | — | ||
| charge of centre | C | — | ||
| distance of ground from centre | m | — | ||
| potential of vertex by ground | V | — | ||
| charge of ground | C | — | ||
| distance of vertex from ground | m | — | ||
| potential of vertex by neighbour | V | — | ||
| distance of vertex from neighbour | m | — | ||
| potential of vertex by hexagon | V | — | ||
| distance of vertex from hexagon | m | — | ||
| potential of vertex by centre | V | — | ||
| distance of vertex from centre | m | — | ||
| potential of neighbour by ground | V | — | ||
| distance of neighbour from ground | m | — | ||
| potential of neighbour by vertex | V | — | ||
| distance of neighbour from vertex | m | — | ||
| potential of neighbour by hexagon | V | — | ||
| distance of neighbour from hexagon | m | — | ||
| potential of neighbour by centre | V | — | ||
| distance of neighbour from centre | m | — | ||
| potential of hexagon by ground | V | — | ||
| distance of hexagon from ground | m | — | ||
| potential of hexagon by vertex | V | — | ||
| distance of hexagon from vertex | m | — | ||
| potential of hexagon by neighbour | V | — | ||
| distance of hexagon from neighbour | m | — | ||
| potential of hexagon by centre | V | — | ||
| distance of hexagon from centre | m | — | ||
| potential of centre by ground | V | — | ||
| distance of centre from ground | m | — | ||
| potential of centre by vertex | V | — | ||
| distance of centre from vertex | m | — | ||
| potential of centre by neighbour | V | — | ||
| distance of centre from neighbour | m | — | ||
| potential of centre by hexagon | V | — | ||
| distance of centre from hexagon | m | — | ||
| work to bring in on ground by vertex | J | — | ||
| work to bring in on ground by neighbour | J | — | ||
| work to bring in on ground by hexagon | J | — | ||
| work to bring in on ground by centre | J | — | ||
| work to bring in on vertex by ground | J | — | ||
| work to bring in on vertex by neighbour | J | — | ||
| work to bring in on vertex by hexagon | J | — | ||
| work to bring in on vertex by centre | J | — | ||
| work to bring in on neighbour by ground | J | — | ||
| work to bring in on neighbour by vertex | J | — | ||
| work to bring in on neighbour by hexagon | J | — | ||
| work to bring in on neighbour by centre | J | — | ||
| work to bring in on hexagon by ground | J | — | ||
| work to bring in on hexagon by vertex | J | — | ||
| work to bring in on hexagon by neighbour | J | — | ||
| work to bring in on hexagon by centre | J | — | ||
| work to bring in on centre by ground | J | — | ||
| work to bring in on centre by vertex | J | — | ||
| work to bring in on centre by neighbour | J | — | ||
| work to bring in on centre by hexagon | J | — |