Foundations of Circuit Theory and Electronic Prototyping