summaryrefslogtreecommitdiff
path: root/1826/CH8/EX8.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH8/EX8.20
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 '1826/CH8/EX8.20')
-rwxr-xr-x1826/CH8/EX8.20/ex8_20.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1826/CH8/EX8.20/ex8_20.sce b/1826/CH8/EX8.20/ex8_20.sce
new file mode 100755
index 000000000..78851a4d5
--- /dev/null
+++ b/1826/CH8/EX8.20/ex8_20.sce
@@ -0,0 +1,14 @@
+// Example 8.18, page no-221
+clear
+clc
+
+h=6.62*10^-34//Js
+m=9.1*10^-31//Kg
+e=1.6*10^-19//C
+ef=7*e
+k=((3/(8*%pi))^(2/3))*((h^2)/(2*m))
+k=ef/k
+n=k^(1.5)
+printf("The number of free electrons concentration in metal is %.2f *10^28 per cubic meter ",n*10^-28)
+vth=sqrt(2*ef/m)
+printf("\nThe termal velocity of electrons in copper is %.3f *10^6 m/s",vth*10^-6)