Place the end of one bar at the midpoint of the other.
Work Step by Step
The magnetic field of a bar magnet is strongest at the ends (page 455). Place the end of bar A at the midpoint of bar B (making the letter “T”). If there is a relatively strong attraction, bar A is the magnet, and if not, bar B is the magnet.