A bar magnet of length 3cm has points A and B along its axis at distances of 24cm and 48cm on the opposite sides. How to calculate the ratio of magnet

A bar magnet of length 3cm has points A and B along its axis at distances of 24cm and 48cm on the opposite sides. How to calculate the ratio of magnetic field at these points?
 
Top