Imagine I have two plates that form a capacitor, so the magnitude of the charge in each plate is, let's say, $Q$. So, the force, in respect to the distance $d$, is gonna be: $$F(d) = k\frac{Q^2}{d^2}$$ So, in order to calculate the energy stored in the capacitor, since it's equal the work needed to pull a plate next to the other, I can calculate the energy $E$ by: $$E = F(d)\cdot d$$ But since $F$ changes with respect to $d$, then I have to integrate $F$, and then multiply by $d$, so:
$$E = \int F(d)dd = \int k\frac{Q^2}{d^2} = kQ^2\int\frac{1}{d^2}dd = -kQ^2\frac{1}{d}$$
So: $$E = -kQ^2\frac{1}{d} =-k\frac{Q^2}{d}$$
I also know that voltage
is the same as energy per charge
, so:
$$V = \frac{E}{Q} = \frac{-k\frac{Q^2}{d}}{Q} = -k\frac{Q}{d}$$
Is it right?
I don't know, because the capacitance $C$ is $$C = \frac{Q}{V}$$ or $$Q = CV$$ And $E = QV$ Then if I substitute $Q$ inside my energy formula, I get:
$$E = -k\frac{CV^2}{d}$$ but the right should be:
$$E = \frac{CV^2}{2}$$
Can somebody help me?