play phryzby with physics

A Square Coil in a Field

solved CurrentLoopInAField

Q. A square coil of side 10 cmA=100cm² consists of 20N=20 turns and carries a current of 12 AI=12A. The coil is suspended vertically and the normal to the plane of the coil makes an angle of 30°θ=30° with the direction of a uniform horizontal magnetic field of magnitude 0.80 TB=0.80T. What is the magnitude of torque experienced by the coil, in N m?

B = 0.8 TN = 20I = 12 AA = 0.01 m²mθ = 30°τ = ?
Inputs
N
20
I
12 A
θ
30.00°
B
0.8 T
Outputs
torqueτ?

How it's solved

Solved with CurrentLoopInAField

Given

  • N=20
  • I=12A
  • θ=30°
  • B=0.80T
  • A=100cm² from “A square coil of side 10 cm”

Find τ.

Working
  1. A=100cm²=0.01m²
  2. moment of a flat coil(coil)m=N⋅I⋅A
  3. m=20⋅12⋅0.01
  4. m=2.4m² A
  5. torque on a coil(coil)τ=m⋅B⋅sin⁡θ
  6. τ=2.4⋅0.8⋅sin⁡30°
  7. τ=0.96N m
  8. τ=0.96J=0.96N m
  9. τ≈0.96N mto 2 significant figures
Conclusion

A coil's magnetic moment is its turns times its current times its area, whatever its shape, and the field turns it with the sine of the angle between the moment and the field.

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 :a_square_coil_in_a_field do4  kind :numerical5  describes "A square coil of side 10 cm consists of %{turns} turns and carries a current of %{current}. The coil " \6            "is suspended vertically and the normal to the plane of the coil makes an angle of %{angle} with the " \7            "direction of a uniform horizontal magnetic field of magnitude %{field}. %{torque}, in N m?"8  given turns: "20"9  given current: "12 A"10  given angle: "30 deg"11  given field: "0.80 T"12  asks torque: "What is the magnitude of torque experienced by the coil"13end
solution.rb
1require_relative "../questions/a_square_coil_in_a_field"2require_relative "../science/moving_charges_and_magnetism/current_loop_in_a_field"34solve :a_square_coil_in_a_field, using: CurrentLoopInAField do5  objects :coil67  take turns: coil.turns8  take current: coil.current9  take angle: coil.angle_to_the_field10  take field: B1112  deduce_from "A square coil of side 10 cm", coil.area => "100 cm2"1314  torque = coil.torque15  answer torque:, in: "N m", figures: 21617  conclusion "A coil's magnetic moment is its turns times its current times its area, whatever its shape, and " \18             "the field turns it with the sine of the angle between the moment and the field."19end
playground.rb
1require_relative "../solutions/a_square_coil_in_a_field"23play_with :a_square_coil_in_a_field do4  title "A Square Coil in a Field"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞CurrentLoopInAField
magnetic fieldBT—CurrentLoopInAField
currentIA—CurrentLoopInAField
turnsN——CurrentLoopInAField
radiusRm0 … ∞CurrentLoopInAField
areaAm²—CurrentLoopInAField
magnetic momentmm² A—CurrentLoopInAField
angle to the fieldθ—0 … 3.142CurrentLoopInAField
torqueτJ—CurrentLoopInAField
magnetic moment of groundmgm² A—
turns of groundNg——
current of groundIgA—
radius of groundRgm0 … ∞
magnetic moment of coilmm² A—
turns of coilN——
current of coilIA—
radius of coilRm0 … ∞
area of groundAgm²—
area of coilAm²—
torque on groundτgJ—
angle to the field of groundθg—0 … 3.142
torque on coilτJ—
angle to the field of coilθ—0 … 3.142
mc=Nc⋅Ic⋅π⋅Rc2
moment of a round coil
mc=Nc⋅Ic⋅Ac
moment of a flat coil
τc=mc⋅B⋅sin⁡θc
torque on a coil
mg=Ng⋅Ig⋅π⋅Rg2
moment of a round coil(ground)
m=N⋅I⋅π⋅R2
moment of a round coil(coil)
mg=Ng⋅Ig⋅Ag
moment of a flat coil(ground)
m=N⋅I⋅A
moment of a flat coil(coil)
τg=mg⋅B⋅sin⁡θg
torque on a coil(ground)
τ=m⋅B⋅sin⁡θ
torque on a coil(coil)