  Measuring the magnetic field of permanent magnets can be challenging, but
recent research has demonstrated the potential of using deformed diamagnetic
liquids to estimate the magnetic field. In this paper, we explore two methods
for measuring the magnetic field from the response of the diamagnetic liquid.
The first method involves measuring the profile of the deformed liquid with a
laser and then calculating the square of the magnetic field using an
appropriate equation. The second method involves measuring the maximum slope of
the liquid and numerically calculating the magnetic field distribution using
the model of an ideal solenoid. We present experimental results using these
methods and compare them with other established methods for measuring magnetic
fields. The results show that the proposed methods are effective and have
potential for use in a variety of applications. The proposed methods can help
address the challenge of measuring magnetic fields in situations where other
methods are not suitable or practical.
