summaryrefslogtreecommitdiff
path: root/3673/CH17/EX17.8/Ex17_8.sce
blob: f31b0d6590736b26825191bbf400c92f0ed4d596 (plain)
1
2
3
4
5
6
7
8
9
//Example 17_8 page no:846
clc;
R0=100;
D=20;
N=10^(D/20);
R1=R0*(N^2-1)/(2*N);
R2=R0*(N+1)/(N-1);
disp(R1,"the resistance R1 is (in ohm)");
disp(R2,"the resistance R2 is (in ohm)");