Solutions to problems in basic circuit theory