How to use batteries to make capacitors