Electric or magnetic energy