The resistance R of a wire is given by the formula:
R = (ρ × L) / A
where ρ is the resistivity of the material, L is the length of the wire, and A is the cross-sectional area of the wire.
We can rearrange this formula to solve for ρ:
ρ = (R × A) / L
Substituting the given values, we get:
ρ = (0.5 × 4×10^7) / 2
ρ = 1×10^7 ohm-meters
Therefore, the resistivity of the wire is 1×10^7 ohm-meters.