diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH4/EX4.14/Ex4_14.sce | |
download | Scilab-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.14/Ex4_14.sce')
-rwxr-xr-x | 3014/CH4/EX4.14/Ex4_14.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3014/CH4/EX4.14/Ex4_14.sce b/3014/CH4/EX4.14/Ex4_14.sce new file mode 100755 index 000000000..73264f4cc --- /dev/null +++ b/3014/CH4/EX4.14/Ex4_14.sce @@ -0,0 +1,16 @@ +
+clc
+//Given that
+m = 32 // Atomic weight of sulphur
+d = 2.08 // Density in g/cm^3
+alpha_e = 3.5e-40 // Electronic polarizability in Fm^2
+N_a = 6.022e23 // Avogadro Number
+epsilon_0 = 8.85e-12 // Permittivity of free space
+
+printf("Example 4.14")
+N = N_a*d*1e6/m // Calculation of Atoms per unit
+k = N*alpha_e/(3*epsilon_0)
+
+epsilon_r = (1+ k*2)/(1-k)// Calculation of relative permittivity
+printf("\n Relative permittivity is %f\n\n\n",epsilon_r)
+// Answer in book is 4.17
|