Magnetic field inside a solenoid
B
The flux density inside a long, tightly wound coil: the permeability of free space times the turns times the current, divided by the length. More turns per metre gives a stronger field.
B≈0.0025T
B is approximately (1.257 times 10 to the power of minus 6 times (500 times 2)) divided by 0.5, is approximately (1.257 times 10 to the power of minus 6 times 1,000) divided by 0.5, is approximately 0.0013 divided by 0.5, is approximately 0.0025 T