The strength of the magnetic field produced by a current-carrying solenoid:
1. Is directly proportional to the number of turns in the solenoid
2. Is directly proportional to the strength of the current in the solenoid
3. Depends upon the nature of the core material