A soft iron bar in a solenoid is placed in a circuit. There are two compasses, 1 is on the West side of the iron bar and the other is to the North. The circuit switch is open, which way will be compass needles be pointing?
Which way will the compass needles be pointing if the switch is then closed?
Is there a rule to solenoids?