summaryrefslogtreecommitdiff
path: root/3830/CH6/EX6.3/Ex6_3.sce
blob: c73deb1f39687f66ed20c6dc922e14b95ce8eda8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Exa 6.3

clc;
clear;

// Given

//Fig 6.41 shows an AC bridge
R1 = 800; // Ohms
C1 = 0.4; // microFarad
R2 = 500; // Ohms
C2 = 1.0; // microFarad
R3 = 1200; // Ohms


// Solution

// Z = R + j X;
// Z1 = 800 + j/(w*C1)
// Y2 = 1/R2 - j*(w*C2)
//Z3 = 1200

printf('At balance, Z1/Z4 = Z2/Z3 \n');

printf(' Rearranging the equation, Z4 = Z1*Z3*Y2 \n') ;
printf(' Equating the real and imaginary parts on both sides, \n');
Z4 = R1*R3*1/R2;
w = sqrt(C1*C2);
printf(' The value of R in arm DA to produce a balance = %d ohms \n',Z4);
printf(' The value of frequency at balance = %.4f Hz \n',w/(2*%pi));

// The answers given in textbook for R and f are incorrect