summaryrefslogtreecommitdiff
path: root/1826/CH7/EX7.10/ex7_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH7/EX7.10/ex7_10.sce
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/CH7/EX7.10/ex7_10.sce')
-rwxr-xr-x1826/CH7/EX7.10/ex7_10.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1826/CH7/EX7.10/ex7_10.sce b/1826/CH7/EX7.10/ex7_10.sce
new file mode 100755
index 000000000..9ed6cf25d
--- /dev/null
+++ b/1826/CH7/EX7.10/ex7_10.sce
@@ -0,0 +1,19 @@
+// Example 7.10, page no-166
+clear
+clc
+rho=1.6*10^-8 //Ohm-m
+e=1.6*10^-19//C
+fe=5.5*e//J
+avg=6.023*10^23
+d=1.05*10^4//density
+wt=107.9*10^-3//atomic weight
+m=9.1*10^-31//kg
+c=3*10^8//m/s
+sig=1/rho
+n=avg*d/wt
+t=sig*m/(n*e^2)
+printf("\nThe conductivity of silver piece is %.2f*10^7 per Ohm-m\n\nThe relaxation time is %.2f*10^-14 s",sig*10^-7,t*10^14)
+lam=c*t
+vd=sig*100/(n*e)
+printf("\n\nThe driftt velocityy of electrons in the silver piece is %.2f m/s",vd)
+