Text this: BASIC applied to circuit analysis