The frequency of a sonometer wire is $100 \mathrm{~Hz} When the weights producing the tensions are completely immersed in water, the frequence becomes 60 \mathrm{~Hz} and on immersing the weights in a certain liquid, the frequency becomes 40 \mathrm{~Hz}$. The specific gravity of the liquid is