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.
长螺线管内部磁场与单位长度匝数和电流成正比。