Generate a program to obtain a general solution for the network of figure (a) for the questions asked in parts (a) through (c) of given problem.
That is, given the resistance and reactance of the elements, determine the requested current, voltage, and power.
Problem
For the network of given figure(b):
a. Find the total impedance ZT.
b. Determine the current Is.
c. Calculate IC using the current divider rule.
d. Calculate VL using the voltage divider rule.