A metallic ring is attached with the wall of a room. When the north pole of magnet is brought near to it