summaryrefslogtreecommitdiff
path: root/3673/CH17/EX17.7/Ex17_7.sce
blob: 392bc1cd0f558428ea50fd1be0c54abe95d9e11e (plain)
1
2
3
4
5
6
7
8
9
10
//Example 17_7 page no:845
clc;
D=60;
I2=20;
R0=500;
N=10^(D/20);
R1=R0*(N-1)/(N+1);
R2=(2*N)*R0/(N^2-1);
disp(R1,"Each of the series arm is given by (in ohm)");
disp(R2,"the shunt arm resistor R2 is given by (in ohm)");