Calculation of Planck's constant