summaryrefslogtreecommitdiff
path: root/3669/CH6/EX6.5/5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH6/EX6.5/5.sce')
-rw-r--r--3669/CH6/EX6.5/5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3669/CH6/EX6.5/5.sce b/3669/CH6/EX6.5/5.sce
new file mode 100644
index 000000000..4a9931c6b
--- /dev/null
+++ b/3669/CH6/EX6.5/5.sce
@@ -0,0 +1,13 @@
+
+//Variable declaration
+epsilon0=8.85*10**-12;
+A=6.45*10**-4; //area(m**2)
+d=2*10**-3; //seperation(m)
+V=12; //voltage(V)
+epsilonr=5;
+
+//Calculation
+P=epsilon0*(epsilonr-1)*V/d; //polarization(C m)
+
+//Result
+printf('polarization is %0.3f *10**-9 C m \n',P*10**9) \ No newline at end of file