Once you have found a, you only need to find J to find a value for the hamiltonian. This J can be found from the energy differences ratio. Now that value of J can be used to derive vector B to get Hamiltonian H = 1/2aC = -µ*B. From these equations µ can be found.