summaryrefslogtreecommitdiff
path: root/3504/CH2/EX2.13/Ex2_13.sce
blob: badf1bf8d14e7e4e630ea1df3d7ad246f97becc4 (plain)
1
2
3
4
5
6
//To determine the value of the ganged condenser C and resistor R so that the current through Z_l is zero.
clc;
w=100                  //(rad/sec)
//Equating real and imaginary parts for [-w^2C^2 + 1/R(2*j*w*C + 1 - (j*10^3)/w)]=0
C=10^3/(2*w^2)           //Capacitance(Farad)
R=1/(w^2*C^2)              //Resistance(ohm)