
now, $V_{A}-V_{B}=\int_{A}^{B} \vec{E} \cdot \overrightarrow{d r}=\int_{A}^{B} \frac{E}{\sqrt{2}}(\hat{i}+\hat{j}) \cdot(d x \hat{i}+d y \hat{j})=\frac{E}{\sqrt{2}}\left[\int_{0}^{0.03} d x+\int_{0.02}^{0} d y\right]$
or $V_{A}-V_{B}=\frac{400}{\sqrt{2}}[0.03-0.02]=2.8 V$
[ $\in_0$ is the permittivity of free space]


