Text this: Analysis of alternating-current circuits