Near a Long Straight Wire
Q. A long straight wire carries a current of 35 AA. What is the magnitude of the field B at a point 20 cmcm from the wire, in teslas?
Inputs
Outputs
field?
How it's solved
Solved with MagneticFieldOfCurrents
Given
- A
- cm
Find .
Working
- cmm
- field near a long straight wire(wire)
- T
- Tto 2 significant figures
Conclusion
The field circles a long straight wire and weakens in step with the distance from it.
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 :near_a_long_straight_wire do4 kind :numerical5 describes "A long straight wire carries a current of %{current}. %{field} at a point %{distance} from the wire, " \6 "in teslas?"7 given current: "35 A"8 given distance: "20 cm"9 asks field: "What is the magnitude of the field B"10end1require_relative "../questions/near_a_long_straight_wire"2require_relative "../science/moving_charges_and_magnetism/magnetic_field_of_currents"34solve :near_a_long_straight_wire, using: MagneticFieldOfCurrents do5 objects :wire67 take current: wire.current8 take distance: wire.distance_from_the_wire910 field = wire.field_near_a_wire11 answer field:, in: "T", figures: 21213 conclusion "The field circles a long straight wire and weakens in step with the distance from it."14endplayground.rb
1require_relative "../solutions/near_a_long_straight_wire"23play_with :near_a_long_straight_wire do4 title "Near a Long Straight Wire"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| pi | — | 0 … ∞ | MagneticFieldOfCurrents | |
| permeability of free space | N/A² | — | MagneticFieldOfCurrents | |
| current | A | — | MagneticFieldOfCurrents | |
| turns | — | — | MagneticFieldOfCurrents | |
| radius | m | — | MagneticFieldOfCurrents | |
| length of the coil | m | — | MagneticFieldOfCurrents | |
| turns per length | m⁻¹ | — | MagneticFieldOfCurrents | |
| field at the centre | T | — | MagneticFieldOfCurrents | |
| field inside | T | — | MagneticFieldOfCurrents | |
| distance from the wire | m | — | MagneticFieldOfCurrents | |
| field near a wire | T | — | MagneticFieldOfCurrents | |
| field at the centre of ground | T | — | ||
| turns of ground | — | — | ||
| current of ground | A | — | ||
| radius of ground | m | — | ||
| field at the centre of wire | T | — | ||
| turns of wire | — | — | ||
| current of wire | A | — | ||
| radius of wire | m | — | ||
| turns per length of ground | m⁻¹ | — | ||
| length of the coil of ground | m | — | ||
| turns per length of wire | m⁻¹ | — | ||
| length of the coil of wire | m | — | ||
| field near a wire of ground | T | — | ||
| distance from the wire of ground | m | — | ||
| field near a wire of wire | T | — | ||
| distance from the wire of wire | m | — | ||
| field inside of ground | T | — | ||
| field inside of wire | T | — |