Circuit Analysis using the Node and Mesh Methods