The directions of current flowing in the coil of a electromagnet at its ends X and Y are as shown below :
(a) What is the polarity of end X ?
(b) What is the polarity of end Y ?
(c) Name and state the rule which you have used to determine the polarities.