summaryrefslogtreecommitdiff
path: root/2345/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH4/EX4.2/Ex4_2.sce')
-rwxr-xr-x2345/CH4/EX4.2/Ex4_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2345/CH4/EX4.2/Ex4_2.sce b/2345/CH4/EX4.2/Ex4_2.sce
new file mode 100755
index 000000000..eb3f0efe0
--- /dev/null
+++ b/2345/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,13 @@
+//Finding capacitance
+//Example 4.2(pg 110)
+clc
+clear
+n=9;
+Ko=8.854*10^-12;
+K=5;
+A=12*10^-4;
+d=2*10^-4;
+
+C=(n-1)*Ko*K*A/d
+printf('Thus the capacitance is %e F',C);
+//The Answer in the Textbook has a calculation error, hence it doesn't match the answer here.