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 /1931/CH13/EX13.1/1.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 '1931/CH13/EX13.1/1.sce')
-rwxr-xr-x | 1931/CH13/EX13.1/1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1931/CH13/EX13.1/1.sce b/1931/CH13/EX13.1/1.sce new file mode 100755 index 000000000..ae3f17729 --- /dev/null +++ b/1931/CH13/EX13.1/1.sce @@ -0,0 +1,15 @@ +clc
+clear
+//INPUT DATA
+a=3.61*10^-10//lattice constant of copper which is Fcc crystal in m
+x=1*10^-18//average displacement of the electrons relative to the nucleus in m
+z=29//atomic number of copper
+n=4//number of atoms per unit cell in FCC crystal
+e=1.6*10^-19//charge of electron in coulombs
+
+//CALCULATION
+ne=((n*z)/(a*a*a))//number of electrons in electrons/m^3
+P=(ne*e*x)/(10^-7)//The electron polarisation in C/m^2 *10^-7
+
+//OUTPUT
+printf('The electron polarisation is %3.3f*10^-7 in C/m^2',P)
|