While serving , he became interested in physics .
While serving , he began doing research on electromagnetism .
While serving , he became interested in physics , and began doing research on electromagnetism .