Calculating and determining electric fields