Python program to calculate current, voltage and equivalent impedance on AC circuits.