Calculation of the electrical capacitance of a truncated cone