summaryrefslogtreecommitdiff
path: root/3871/CH5/EX5.30
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH5/EX5.30')
-rw-r--r--3871/CH5/EX5.30/Ex5_30.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3871/CH5/EX5.30/Ex5_30.sce b/3871/CH5/EX5.30/Ex5_30.sce
new file mode 100644
index 000000000..a9beade97
--- /dev/null
+++ b/3871/CH5/EX5.30/Ex5_30.sce
@@ -0,0 +1,19 @@
+//===========================================================================
+//chapter 5 example 30
+
+clc;clear all;
+
+//variable declaration
+d = 0.08; //diameter in m
+D = 0.004; //distance between plates in m
+F = 0.002; //force in Newton
+
+//calculations
+e0 = 8.85*10^-12; //permittivity in N
+A = (%pi/4)*(d^2); //area of the plates in m**2
+x = (F*2*(D^2))/(e0*A);
+V = sqrt(x); //potential diference in V
+
+//result
+mprintf("potential diference = %3.1f V",V);
+mprintf("\nNote:final answer in textbook is wrong printed")