Skip to content

A program to create alternating circuits using resistors, capacitors, and inductors and calculate the impedance of that circuit.

Notifications You must be signed in to change notification settings

mvpmanish/AC-circuit-calculator

Repository files navigation

AC-circuit-calculator

A program to create alternating circuits using resistors, capacitors, and inductors and calculate the impedance of that circuit. The objective of this project was to write a program to compute the impedance of an A.C circuit with an arbitrary number of resistors, capacitors and inductors. A vector of abstract base class pointers was used to let the user build a component library of any valued resistor, capacitor or inductor. This library was used to construct circuits with the total impedance of the circuit and a circuit diagram in ASCII characters printed to the terminal. The constructed circuit could then be saved in a vector of pointers to circuits and printed again from a library menu.

About

A program to create alternating circuits using resistors, capacitors, and inductors and calculate the impedance of that circuit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages