summaryrefslogtreecommitdiff
path: root/3411/CH15/EX7.1.u2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3411/CH15/EX7.1.u2
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 '3411/CH15/EX7.1.u2')
-rw-r--r--3411/CH15/EX7.1.u2/Ex7_1_u2.sce11
-rw-r--r--3411/CH15/EX7.1.u2/Ex7_1_u2.txt1
2 files changed, 12 insertions, 0 deletions
diff --git a/3411/CH15/EX7.1.u2/Ex7_1_u2.sce b/3411/CH15/EX7.1.u2/Ex7_1_u2.sce
new file mode 100644
index 000000000..a17e3227c
--- /dev/null
+++ b/3411/CH15/EX7.1.u2/Ex7_1_u2.sce
@@ -0,0 +1,11 @@
+//Example 7_1_u2
+clc();
+clear;
+//To calculate the mean free path
+mn=0.26*0.91*10^-30
+un=1000*10^-4
+e=1.6*10^-19
+tc=(mn*un)/e
+vth=10^7
+meanfreepath=vth*tc*10^7 //units in nm
+printf("The mean free path is given by L=%.1f nm",meanfreepath)
diff --git a/3411/CH15/EX7.1.u2/Ex7_1_u2.txt b/3411/CH15/EX7.1.u2/Ex7_1_u2.txt
new file mode 100644
index 000000000..f153fb915
--- /dev/null
+++ b/3411/CH15/EX7.1.u2/Ex7_1_u2.txt
@@ -0,0 +1 @@
+The mean free path is given by L=14.8 nm \ No newline at end of file