Given information
Three iron rods are given in which two of them are magnetized and the remaining is not.
Step-by-step explanation
As the magnetized iron rod has a north pole and a south pole at each end, if the other rod is not magnetized, the magnetized rod will attract both ends, but if the other rod is magnetized, the magnetized rod will repel the rod at the same pole ends. Poles that are similar repel each other, while poles that are dissimilar attract each other. When the poles of a permanent magnet are brought in in turn near a suspended magnet, they generate repulsion with one pole. Both poles would be attracted to an unmagnetized magnet material. Magnetism can work over long distances, and magnets can exert force (push or pull) on objects even when they are not in touch with them.