I want to compute the magnetic field inside an infinite solenoid. I know how to do this if we suppose that outside the solenoid, the magnetic field is equal to zero.
But how do you do this if it isn't equal to 0? what does it change ?
I heard that you have to use the Biot–Savart law but I don't know how.
Thank you !