# Where does the energy comes from when two charged plates exerts a force on a particle?

I have been scratching my brain for a long time to figure out where the energy comes from when charges on two plates are switched on and there is already a charged particle between the plates?

I’ve only seen examples where the charge was placed there after the field is present. I’m also trying to figure out how the charges goes from plus to minus, given that the circuit is connected to a battery source?

We have two charged plates with a very electric force permeable wall between the plates and a positively charged particle. As the plates are switched on, the particle will slam in to the wall M and create thermal energy. The question is where did the energy come from? And where is the charge decrease?. I put a wall there to ask how the discharge occurs? Without the particle touching the other plate. In my mind, just a change of electric field must also somehow discharge the plates? Discharge, is how the battery goes to a lower energy state. Otherwise energy is created from thin air

Such an arrangement of two parallel plates is known as a capacitor. The energy of a capacitor arises from the separation of charges on the two plates. The charges on the two surfaces exert an electrostatic field between the plates of magnitude $$\frac {q}{\epsilon_0}$$. The charge on the two plates depends on the capacitance which is given by $$C=\frac {A{\epsilon_0}}{d}$$ where $$A$$ is the area of the plates and $$d$$ is the distance between them. Discharge cannot occur unless there is a medium for the charges to go from from the negative plate to the positive plate.