summaryrefslogtreecommitdiff
path: root/165/CH11/EX11.9.b/ex11_9_b.sce
blob: ab5aeaf3386a2149987012006926c3859cca42ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 11.9(b)
clc;
f=50;        //frequency in Hz
//Given values of bridge elements
R2=1000;
R3=16500;
R4=800;
w=2*%pi*f;
C4=2*10^-6;
//Value of Rx for Hay's Bridge
Rx=(R4*R2*R3*(w*C4)^2)/(1+(w*R4*C4)^2);
//Value of Lx for Hay's Bridge
Lx=(R2*R3*C4)/(1+(w*R4*C4)^2);
disp(Rx,'Value of resistence is')
disp(Lx,'Value of Inductance is')