An isolated parallel-plate capacitor has a capacitance of 5.0μF and an initial potential difference of 12V. After it is disconnected from any power source, a dielectric with constant κ=3.0 is completely inserted between the plates. Determine the work that an external agent must do to insert the dielectric.