A triangle Black Box

In this experimental problem, we determine the wiring diagram of the black box by charging a capacitor inside and discharging it through a voltmeter.