summaryrefslogtreecommitdiff
path: root/3369/CH16/EX16.8/Ex16_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3369/CH16/EX16.8/Ex16_8.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3369/CH16/EX16.8/Ex16_8.sce')
-rwxr-xr-x3369/CH16/EX16.8/Ex16_8.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3369/CH16/EX16.8/Ex16_8.sce b/3369/CH16/EX16.8/Ex16_8.sce
new file mode 100755
index 000000000..94475426e
--- /dev/null
+++ b/3369/CH16/EX16.8/Ex16_8.sce
@@ -0,0 +1,24 @@
+//Chapter 16,Example 8,page 562
+//Determine the circuit efficiency
+clear
+clc
+C1 = 0.125*10^-6 // F
+C2 = 1*10^-9 // F
+T2 = 2500
+T1 = 250
+// Bsaed on Figure 16.12
+T2T1 = T2/T1
+a = 4 // alpha
+theta = T2/6
+// From table 16.1
+X = (1/a^2)*(1+C2/C1)
+R1 = (a*theta*10^-6/C2)*(1-sqrt(1-X))
+R2 = (a*theta*10^-6/(C1+C2))*(1+sqrt(1-X))
+neta = 1/(1+(1+R1/R2)*C2/C1)
+printf("\n Theta = %f micro S", theta)
+printf("\n X = %f ", X)
+printf("\n R1 = %f k Ohm", R1*10^-3)
+printf("\n R2 = %f k Ohm", R2*10^-3)
+printf("\n neta = %f ", neta)
+
+// Answers may vary due to round off error