Tubular capacitor calculation