Text this: Inverse problems in electric circuits and electromagnetics