what is the importance/significance of calculating the magnetic flux density of a solenoid?