summaryrefslogtreecommitdiff
path: root/3014/CH4/EX4.8/Ex4_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3014/CH4/EX4.8/Ex4_8.sce')
-rwxr-xr-x3014/CH4/EX4.8/Ex4_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3014/CH4/EX4.8/Ex4_8.sce b/3014/CH4/EX4.8/Ex4_8.sce
new file mode 100755
index 000000000..abae3cbe3
--- /dev/null
+++ b/3014/CH4/EX4.8/Ex4_8.sce
@@ -0,0 +1,12 @@
+
+clc
+//Given that
+epsilon_0 = 8.854e-12 // Permittivity of free space
+E = 2000 // Electric field in V/m
+P = 6.4e-8 // Polarization in C/m^2
+printf("Example 4.8")
+epsilon_r = 1+ P/(epsilon_0*E) // Calculation of relative permittivity
+
+printf("\n Relative permittivity is %f\n\n\n",epsilon_r)
+
+