TAAREK said:
if two equal capacitor one of then is charged and the other is not.then the switch is closed, half of the stored energy of the 1st capacitor will be lost.
if there is a way to move electrons from one of the positive plates to the other positive of the other capacitor,will it require less energy than half energy stored in the beginning ?
If you simply connect the two capacitors with a switch, half the energy in the system will be lost.
However, if an inductor and diode are used to transfer the energy and disconnect at the right time, much less energy will be lost.
Here's a schematic of a circuit I wired up. The two capacitors are 470 μF each and the inductor is an "air core" 500 μH unit. C1 is initially charged to 30 volts, and C2 is initially uncharged.
When the switch is closed, the capacitors and inductor form a resonant loop and a half cycle "ring" of the circuit begins. The current in the inductor builds up and then decays. When that current reaches zero and attempts to reverse (as it would without the diode), the diode "disconnects" the inductor, and most of the energy has been transferred to C2.
Here's a scope capture of the voltages across C1 and C2, and the inductor current. The voltage across C1 is yellow, across C2 is green, and the inductor current is red. The current was measured with a clamp-on current probe and the scale is 5 amps/cm, reaching a peak of about 17 amps.
C1 starts out at 30 volts and ends up at about 5 volts. C2 starts out at zero volts and ends up at about 25 volts. C2 doesn't charge up to the full 30 volts as it would if everything were lossless, but at 25 volts it contains much more energy than it would if the two capacitors were simply connected with a switch.
So, it is possible to transfer energy from one capacitor to the other without losing a full 50% of the energy.