Source: https://www.csnsm.in2p3.fr/IMG/pdf/Correction_ex1_2_magnetostat.pdf