Compute the magnetic field inside a long solenoid from turns per unit length n and current I using B = μ₀·n·I for electromagnet and coil design.
長螺線管內部磁場與單位長度匝數和電流成正比。