Electromagnetics from a quasistatic perspective