summaryrefslogtreecommitdiff
path: root/2360/CH6/EX6.30/ex6_30.sce
blob: c414912a8c41f1489e6fef07affde5e6a97e6367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Exa 6.30
format('v',7);clc;clear;close;
// Given data
R3 = 100;// in ohm
R4 = 200;// in ohm
R2 = 250;// in ohm
C = 1;// in µF
C = C * 10^-6;// in F
r = 229.7;// in ohm
r1 = 43.1;// in ohm
// Value of unknown resistance for Anderson's bridge
R1 = ((R2*R3)/R4) - r1;//resistance in ohm
disp(R1,"The resistance in ohm is");
L1 = ((C*R3)/R4) * ( ((R2+R4)*r) + (R2*R4) );//inductance in H
L1 = L1 * 10^3;// in mH
disp(L1,"The inductance in mH is");