summaryrefslogtreecommitdiff
path: root/42/CH6
diff options
context:
space:
mode:
Diffstat (limited to '42/CH6')
-rwxr-xr-x42/CH6/EX6.12/sadiku_6_12.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/42/CH6/EX6.12/sadiku_6_12.sce b/42/CH6/EX6.12/sadiku_6_12.sce
new file mode 100755
index 000000000..f7d4d44b8
--- /dev/null
+++ b/42/CH6/EX6.12/sadiku_6_12.sce
@@ -0,0 +1,11 @@
+clear;
+clc;
+Eo=10^-9 /(36*%pi),Er1=4,Er2=6,d=5*10^-3,S=30*10^-4;
+C1=Eo*Er1*S*2/d;
+C2=Eo*Er2*S*2/d;
+C=C1*C2/(C1+C2);//Since they are in series
+disp(C*10^12,'Capacitance of capacitor in figure a in pF =');
+C1=Eo*Er1*S/(2*d);
+C2=Eo*Er2*S/(2*d);
+C=C1+C2;
+disp(C*10^12,'Capacitance of capacitor in figure b in pF = ') \ No newline at end of file