summaryrefslogtreecommitdiff
path: root/3830/CH6/EX6.3
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3830/CH6/EX6.3
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3830/CH6/EX6.3')
-rw-r--r--3830/CH6/EX6.3/Ex6_3.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3830/CH6/EX6.3/Ex6_3.sce b/3830/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..c73deb1f3
--- /dev/null
+++ b/3830/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,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