Solve the following problem:
Generate a program to obtain a general solution for the network of Fig. for the questions asked in parts (a) through (c) of Problem 1. That is, given the resistance and reactance of the elements, determine the requested current, voltage, and power.
Problem 1: For the network of Fig.
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.