To find the change in potential energy of the dipole when it is rotated in an electric field, we use the formula for the potential energy \( U \) of a dipole in an electric field:
\[ U = -pE\cos\theta \]
where:
Initially, the dipole is aligned with the electric field, so the initial angle \( \theta_1 = 0^\circ \). The potential energy is:
\[ U_1 = -pE\cos(0^\circ) = -pE \]
After rotation by \( 60^\circ \), the new angle \( \theta_2 = 60^\circ \), and the potential energy becomes:
\[ U_2 = -pE\cos(60^\circ) \]
The change in potential energy \(\Delta U\) is given by:
\[ \Delta U = U_2 - U_1 \]
Substitute the expressions for \( U_1 \) and \( U_2 \):
\[ \Delta U = -pE\cos(60^\circ) - (-pE) = pE(1 - \cos(60^\circ)) \]
Given \(\cos(60^\circ) = 0.5\), the expression becomes:
\[ \Delta U = pE(1 - 0.5) = pE \cdot 0.5 \]
Substitute \( p = 5 \times 10^{-6} \, \text{Cm} \) and \( E = 4 \times 10^5 \, \text{N/C} \):
\[ \Delta U = 5 \times 10^{-6} \times 4 \times 10^5 \times 0.5 = 1 \, \text{J} \]
Thus, the change in potential energy of the dipole is \( 1.0 \, \text{J} \).