summaryrefslogtreecommitdiff
path: root/2345/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH4/EX4.4/Ex4_4.sce')
-rwxr-xr-x2345/CH4/EX4.4/Ex4_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2345/CH4/EX4.4/Ex4_4.sce b/2345/CH4/EX4.4/Ex4_4.sce
new file mode 100755
index 000000000..91148253a
--- /dev/null
+++ b/2345/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,16 @@
+//Finding electric flux density
+//Example 4.4(pg 111)
+clc
+clear
+
+A=0.02;//surface area of plates in meter square
+d=0.001;//distance between the plates in meter
+C=4.5*10^-10;//capacitance of the capacitor in farad
+//for paralel plate condenser C=KoKA/d
+Ko=8.854*10^-12;
+//dielectric constant K is given by
+K=(C*d)/(Ko*A)
+V=15000;//volatage in volts
+Q=C*V// charge on condenser in columb
+D=Q/A// electric flux density in columb per meter square
+printf('Thus the electric flux density is %e C/(m^2)',D)