The direction of current flowing in the coil of an electromagnet at its two 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.