summaryrefslogtreecommitdiff
path: root/3014/CH4/EX4.10/Ex4_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH4/EX4.10/Ex4_10.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3014/CH4/EX4.10/Ex4_10.sce')
-rwxr-xr-x3014/CH4/EX4.10/Ex4_10.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3014/CH4/EX4.10/Ex4_10.sce b/3014/CH4/EX4.10/Ex4_10.sce
new file mode 100755
index 000000000..03b5a08c0
--- /dev/null
+++ b/3014/CH4/EX4.10/Ex4_10.sce
@@ -0,0 +1,12 @@
+clc
+//Given that
+epsilon = 2.4e-10 // permitivity of a dielectric material in C^2/N?m^2
+epsilon_0 = 8.854e-12 // Permittivity of free space
+
+printf("Example 4.10")
+K = epsilon/epsilon_0 // Calculation of dielectric constant
+zai_e = epsilon_0*(K-1) // Calculation of electrical susceptibility
+
+printf("\n Relative permittivity is %f",K)
+printf("\n Electrical susceptibility is %e C^2/Nm^2\n\n\n",zai_e)
+