summaryrefslogtreecommitdiff
path: root/273/CH17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /273/CH17
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 '273/CH17')
-rwxr-xr-x273/CH17/EX17.1/ex17_1.sce12
-rwxr-xr-x273/CH17/EX17.2/ex17_2.sce13
-rwxr-xr-x273/CH17/EX17.3/ex17_3.sce12
3 files changed, 37 insertions, 0 deletions
diff --git a/273/CH17/EX17.1/ex17_1.sce b/273/CH17/EX17.1/ex17_1.sce
new file mode 100755
index 000000000..450e75a1a
--- /dev/null
+++ b/273/CH17/EX17.1/ex17_1.sce
@@ -0,0 +1,12 @@
+clc;clear;
+//Example 17.1
+//calculation of probability
+
+//given values
+E=.01;//energy difference in eV
+kT=.026;//temperture equivalent at room temp in e
+
+//calculation
+P=1/(1+(%e^(E/kT)));
+
+disp(P,'interatomic spacing is');
diff --git a/273/CH17/EX17.2/ex17_2.sce b/273/CH17/EX17.2/ex17_2.sce
new file mode 100755
index 000000000..aba910762
--- /dev/null
+++ b/273/CH17/EX17.2/ex17_2.sce
@@ -0,0 +1,13 @@
+clc;clear;
+//Example 17.2
+//calculation of velocity of e
+
+//given values
+e=1.6*10^-19;//charge of e in C
+E=2.1*e;//fermi level in J
+m=9.1*10^-31;//mass of e in kg
+
+//calculation
+v=sqrt(2*E/m);
+
+disp(v,'velocity of e(in m/s)');
diff --git a/273/CH17/EX17.3/ex17_3.sce b/273/CH17/EX17.3/ex17_3.sce
new file mode 100755
index 000000000..f5ef28355
--- /dev/null
+++ b/273/CH17/EX17.3/ex17_3.sce
@@ -0,0 +1,12 @@
+clc;clear;
+//Example 17.3
+//calculation of velocity of fraction of free electrons
+
+//given values
+E=5.5;//fermi level in eV
+kT=.026;//temperture equivalent at room temp in e
+
+//calculation
+f=2*kT/E;
+
+disp(f,'fraction of free electrone\s upto width kT on either side of Ef is');