play phryzby with physics

The Centre of a Charged Hexagon

solved ElectrostaticPotential

Q. A regular hexagonrch=rvn of side 10 cmrvn=10cm has a charge 5 μCqv=5μC at each of its verticesqh=6⋅qv. Calculate the potential at the centre of the hexagon, in volts?

++vertex 5×10⁻⁶ Chexagon ?r = 0.1 mV = ?
Inputs
rvn
10 cm
qv
5 μC
Outputs
potentialVch?

How it's solved

Solved with ElectrostaticPotential

Given

  • rvn=10cm
  • qv=5μC
  • rch=rvn from “A regular hexagon”
  • qh=6⋅qv from “at each of its vertices”

Find Vch.

Working
  1. rvn=10cm=0.1m
  2. qv=5μC=5×10−6C
  3. at each of its verticesqh=6⋅qv
  4. qh=6⋅5×10−6
  5. qh=3×10−5C
  6. A regular hexagonrch=rvn
  7. rch=0.1
  8. rch=0.1m
  9. potential of a point charge(centre, hexagon)Vch=k⋅qhrch
  10. Vch=8.98755179×109⋅3×10−50.1
  11. Vch=2.696×106V
  12. Vch≈2.7×106Vto 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.

question.rb
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"10end
solution.rb
1require_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."18end
playground.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"5end
The laws it drew on
quantitywrittenunitswithinfrom
coulomb constantkN m² C⁻²—ElectrostaticPotential
chargeqC—ElectrostaticPotential
distancerm—ElectrostaticPotential
potentialVV—ElectrostaticPotential
work to bring inWJ—ElectrostaticPotential
potential of ground by vertexVgvV—
charge of vertexqvC—
distance of ground from vertexrgvm—
potential of ground by neighbourVgnV—
charge of neighbourqnC—
distance of ground from neighbourrgnm—
potential of ground by hexagonVghV—
charge of hexagonqhC—
distance of ground from hexagonrghm—
potential of ground by centreVgcV—
charge of centreqcC—
distance of ground from centrergcm—
potential of vertex by groundVvgV—
charge of groundqgC—
distance of vertex from groundrvm—
potential of vertex by neighbourVvnV—
distance of vertex from neighbourrvnm—
potential of vertex by hexagonVvhV—
distance of vertex from hexagonrvhm—
potential of vertex by centreVvcV—
distance of vertex from centrervcm—
potential of neighbour by groundVngV—
distance of neighbour from groundrnm—
potential of neighbour by vertexVnvV—
distance of neighbour from vertexrnvm—
potential of neighbour by hexagonVnhV—
distance of neighbour from hexagonrnhm—
potential of neighbour by centreVncV—
distance of neighbour from centrerncm—
potential of hexagon by groundVhgV—
distance of hexagon from groundrhm—
potential of hexagon by vertexVhvV—
distance of hexagon from vertexrhvm—
potential of hexagon by neighbourVhnV—
distance of hexagon from neighbourrhnm—
potential of hexagon by centreVhcV—
distance of hexagon from centrerhcm—
potential of centre by groundVcgV—
distance of centre from groundrcm—
potential of centre by vertexVcvV—
distance of centre from vertexrcvm—
potential of centre by neighbourVcnV—
distance of centre from neighbourrcnm—
potential of centre by hexagonVchV—
distance of centre from hexagonrchm—
work to bring in on ground by vertexWgvJ—
work to bring in on ground by neighbourWgnJ—
work to bring in on ground by hexagonWghJ—
work to bring in on ground by centreWgcJ—
work to bring in on vertex by groundWvgJ—
work to bring in on vertex by neighbourWvnJ—
work to bring in on vertex by hexagonWvhJ—
work to bring in on vertex by centreWvcJ—
work to bring in on neighbour by groundWngJ—
work to bring in on neighbour by vertexWnvJ—
work to bring in on neighbour by hexagonWnhJ—
work to bring in on neighbour by centreWncJ—
work to bring in on hexagon by groundWhgJ—
work to bring in on hexagon by vertexWhvJ—
work to bring in on hexagon by neighbourWhnJ—
work to bring in on hexagon by centreWhcJ—
work to bring in on centre by groundWcgJ—
work to bring in on centre by vertexWcvJ—
work to bring in on centre by neighbourWcnJ—
work to bring in on centre by hexagonWchJ—
Vps=k⋅qsrps
potential of a point charge
Wbs=qb⋅Vbs
work is charge times potential
Vgv=k⋅qvrgv
potential of a point charge(ground, vertex)
Vgn=k⋅qnrgn
potential of a point charge(ground, neighbour)
Vgh=k⋅qhrgh
potential of a point charge(ground, hexagon)
Vgc=k⋅qcrgc
potential of a point charge(ground, centre)
Vvg=k⋅qgrv
potential of a point charge(vertex, ground)
Vvn=k⋅qnrvn
potential of a point charge(vertex, neighbour)
Vvh=k⋅qhrvh
potential of a point charge(vertex, hexagon)
Vvc=k⋅qcrvc
potential of a point charge(vertex, centre)
Vng=k⋅qgrn
potential of a point charge(neighbour, ground)
Vnv=k⋅qvrnv
potential of a point charge(neighbour, vertex)
Vnh=k⋅qhrnh
potential of a point charge(neighbour, hexagon)
Vnc=k⋅qcrnc
potential of a point charge(neighbour, centre)
Vhg=k⋅qgrh
potential of a point charge(hexagon, ground)
Vhv=k⋅qvrhv
potential of a point charge(hexagon, vertex)
Vhn=k⋅qnrhn
potential of a point charge(hexagon, neighbour)
Vhc=k⋅qcrhc
potential of a point charge(hexagon, centre)
Vcg=k⋅qgrc
potential of a point charge(centre, ground)
Vcv=k⋅qvrcv
potential of a point charge(centre, vertex)
Vcn=k⋅qnrcn
potential of a point charge(centre, neighbour)
Vch=k⋅qhrch
potential of a point charge(centre, hexagon)
Wgv=qg⋅Vgv
work is charge times potential(ground, vertex)
Wgn=qg⋅Vgn
work is charge times potential(ground, neighbour)
Wgh=qg⋅Vgh
work is charge times potential(ground, hexagon)
Wgc=qg⋅Vgc
work is charge times potential(ground, centre)
Wvg=qv⋅Vvg
work is charge times potential(vertex, ground)
Wvn=qv⋅Vvn
work is charge times potential(vertex, neighbour)
Wvh=qv⋅Vvh
work is charge times potential(vertex, hexagon)
Wvc=qv⋅Vvc
work is charge times potential(vertex, centre)
Wng=qn⋅Vng
work is charge times potential(neighbour, ground)
Wnv=qn⋅Vnv
work is charge times potential(neighbour, vertex)
Wnh=qn⋅Vnh
work is charge times potential(neighbour, hexagon)
Wnc=qn⋅Vnc
work is charge times potential(neighbour, centre)
Whg=qh⋅Vhg
work is charge times potential(hexagon, ground)
Whv=qh⋅Vhv
work is charge times potential(hexagon, vertex)
Whn=qh⋅Vhn
work is charge times potential(hexagon, neighbour)
Whc=qh⋅Vhc
work is charge times potential(hexagon, centre)
Wcg=qc⋅Vcg
work is charge times potential(centre, ground)
Wcv=qc⋅Vcv
work is charge times potential(centre, vertex)
Wcn=qc⋅Vcn
work is charge times potential(centre, neighbour)
Wch=qc⋅Vch
work is charge times potential(centre, hexagon)
rch=rvn
A regular hexagon
qh=6⋅qv
at each of its vertices