play phryzby with physics

A Bar Magnet Turned across a Field

solved CurrentLoopInAField

Q. A bar magnet of magnetic moment 1.5 J/Tm=1.5J/T lies aligned with the direction of a uniform magnetic field of 0.22 TB=0.22T. An external torque turns the magnet so as to align its magnetic moment normal to the field directionθ=90°. What is the torque on the magnet in this position, in N m?

NSB = 0.22 Tm = 1.5 A·m²θ = 90°τ = ?
Inputs
m
1.5 J/T
B
0.22 T
Outputs
torqueτ?

How it's solved

Solved with CurrentLoopInAField

Given

  • m=1.5J/T
  • B=0.22T
  • θ=90° from “normal to the field direction”

Find τ.

Working
  1. m=1.5J/T=1.5m² A
  2. torque on a coil(magnet)τ=m⋅B⋅sin⁡θ
  3. τ=1.5⋅0.22⋅sin⁡90°
  4. τ=0.33N m
  5. τ=0.33J=0.33N m
  6. τ≈0.33N mto 2 significant figures
Conclusion

Square across the field the magnet feels the largest twist the field can give it, the moment times 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_bar_magnet_turned_across_a_field do4  kind :numerical5  describes "A bar magnet of magnetic moment %{moment} lies aligned with the direction of a uniform magnetic " \6            "field of %{field}. An external torque turns the magnet so as to align its magnetic moment normal to " \7            "the field direction. %{torque}, in N m?"8  given moment: "1.5 J/T"9  given field: "0.22 T"10  asks torque: "What is the torque on the magnet in this position"11end
solution.rb
1require_relative "../questions/a_bar_magnet_turned_across_a_field"2require_relative "../science/moving_charges_and_magnetism/current_loop_in_a_field"34solve :a_bar_magnet_turned_across_a_field, using: CurrentLoopInAField do5  objects :magnet67  take moment: magnet.magnetic_moment8  take field: B910  deduce_from "normal to the field direction", magnet.angle_to_the_field => "90 deg"1112  torque = magnet.torque13  answer torque:, in: "N m", figures: 21415  conclusion "Square across the field the magnet feels the largest twist the field can give it, the moment " \16             "times the field."17end
playground.rb
1require_relative "../solutions/a_bar_magnet_turned_across_a_field"23play_with :a_bar_magnet_turned_across_a_field do4  title "A Bar Magnet Turned across 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 magnetmm² A—
turns of magnetN——
current of magnetIA—
radius of magnetRm0 … ∞
area of groundAgm²—
area of magnetAm²—
torque on groundτgJ—
angle to the field of groundθg—0 … 3.142
torque on magnetτJ—
angle to the field of magnetθ—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(magnet)
mg=Ng⋅Ig⋅Ag
moment of a flat coil(ground)
m=N⋅I⋅A
moment of a flat coil(magnet)
τg=mg⋅B⋅sin⁡θg
torque on a coil(ground)
τ=m⋅B⋅sin⁡θ
torque on a coil(magnet)