Describe a simple experiment to illustrate that like poles of two magnets repel each other while the unlike poles attract ?
Like poles repel and unlike poles attract.
Two like poles (both North poles or both South poles) repel each other. Two unlike poles (one North pole and the other South pole) attract each other. This can be demonstrated by the following simple experiment.
Take two bar magnets A and B. Suspend one magnet A with a silk thread from a support so that it is free to swing. The magnet A will come to rest in the North-South direction. The North pole of the magnet A is in the North direction and its South pole is in the South direction. Now holding the other magnet B in your hand if you bring its North pole near the North pole of the suspended magnet A as shown in figure you will observe that the two poles repel each other. Care is taken that the two magnets do not touch each other.
Now if you bring the South pole of the magnet B near the north pole of the suspended magnet A as shown in figure without touching it, you will observe that the two poles attract each other.
The above experiment shows that the like poles repels each other while the unlike poles attract each other.