summaryrefslogtreecommitdiff
path: root/3754/CH7/EX7.7/7_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH7/EX7.7/7_7.sce')
-rw-r--r--3754/CH7/EX7.7/7_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH7/EX7.7/7_7.sce b/3754/CH7/EX7.7/7_7.sce
new file mode 100644
index 000000000..e8e2a7eee
--- /dev/null
+++ b/3754/CH7/EX7.7/7_7.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+k = 5.0 //dielectric constant
+A = 0.04 //Plate area (in meter-square)
+d = 0.02 //Thickness of dielectric(in meter)
+eps0 = 8.85 * 10**-12 //Absolute permittivity (in kg*m**3*s**-3*A**-2)
+
+//Calculation
+
+C = eps0 * k * A / d //Capacitance (in Farad)
+
+//Result
+
+printf("\n Capacitance of parallel plate capacitor is %0.3f pF." ,C * 10**12)