summaryrefslogtreecommitdiff
path: root/1316/CH2/EX2.10/example2_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1316/CH2/EX2.10/example2_10.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1316/CH2/EX2.10/example2_10.sce')
-rw-r--r--1316/CH2/EX2.10/example2_10.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1316/CH2/EX2.10/example2_10.sce b/1316/CH2/EX2.10/example2_10.sce
new file mode 100644
index 000000000..7417d62b6
--- /dev/null
+++ b/1316/CH2/EX2.10/example2_10.sce
@@ -0,0 +1,25 @@
+//Chapter 2
+//Example 2.10
+//Page 68
+
+clear;
+clc;
+
+R1 = 1000;
+R2 = 2000;
+R3 = 1000;
+C1 = 1;
+
+printf("Because the bridge is at null , we have \n ")
+printf("Z2*Z3 = Z1*Zx \n")
+printf("R2(R3-j/wC)=R1(Rx-j/wCx) \n")
+printf("The real and imaginary parts must be indpendently equal,so that \n")
+printf("Rx-(R2*R3/R1)=0 \n")
+//Calculation of value of Rx
+x=(R2*R3/R1)/1000
+printf("Rx = %.0f kilo ohm \n",x)
+//Calculation of value of Cx
+y=(C1*(R1/R2))
+printf("Cx=C(R1/R2) \n Cx = %.1f uF",y)
+
+