Where is the energy equal to (1÷2)CV^2${1\over2}CV^2$ lost while charging a capacitor ? ( WhileWhen deriving it I assumed V=constant$V$ was constant and resistance of wire or internal resistance wasn't considered anywhere in the derivationwas negligible.)