summaryrefslogtreecommitdiff
path: root/3871/CH12/EX12.26/Ex12_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH12/EX12.26/Ex12_26.sce')
-rw-r--r--3871/CH12/EX12.26/Ex12_26.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3871/CH12/EX12.26/Ex12_26.sce b/3871/CH12/EX12.26/Ex12_26.sce
new file mode 100644
index 000000000..31eb0e178
--- /dev/null
+++ b/3871/CH12/EX12.26/Ex12_26.sce
@@ -0,0 +1,19 @@
+//=====================================================================================
+//Chapter 12 example 26
+clc;clear all;
+
+//variable declaration
+C1 = 1530; //capacitance in pF
+C2 = 162; //capacitance in pF
+f1 = 3; //frequency in MHz
+f2 =1; //frequency in MHz
+
+//calculations
+//f1 = 1/((2*math.pi)*(math.sqrt(L*(C2+Cd))))
+//f1 = 1/((2*math.pi)*(math.sqrt(L*(C2+Cd))))
+//f2 = 3*f1
+Cd = (C1-(9*C2))/(8); //self capacitance of the coil in pF
+
+//result
+mprintf("self capacitance of the coil = %3.2f pF",Cd);
+