summaryrefslogtreecommitdiff
path: root/2258/CH2/EX2.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2258/CH2/EX2.11
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 '2258/CH2/EX2.11')
-rwxr-xr-x2258/CH2/EX2.11/2_11.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2258/CH2/EX2.11/2_11.sce b/2258/CH2/EX2.11/2_11.sce
new file mode 100755
index 000000000..62df8945d
--- /dev/null
+++ b/2258/CH2/EX2.11/2_11.sce
@@ -0,0 +1,14 @@
+clc();
+clear;
+// To calculate the mean free path of electron
+T=300; //temperature in K
+n=8.5*10^28; //density per m^3
+rho=1.69*10^-8; //resistivity in ohm/m^3
+me=9.11*10^-31; //mass of electron in kg
+e=1.6*10^-19; //charge in coulomb
+KB=1.38*10^-23; //boltzmann constant in J/k
+lamda=sqrt(3*KB*me*T)/(n*(e^2)*rho);
+printf("mean free path of electron in m is");
+disp(lamda);
+
+//answer given in the book is wrong