diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH10/EX10.18 | |
download | Scilab-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/CH10/EX10.18')
-rwxr-xr-x | 1826/CH10/EX10.18/ex10_18.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1826/CH10/EX10.18/ex10_18.sce b/1826/CH10/EX10.18/ex10_18.sce new file mode 100755 index 000000000..39fd7766f --- /dev/null +++ b/1826/CH10/EX10.18/ex10_18.sce @@ -0,0 +1,14 @@ +// Example 10.18, page no-279
+clear
+clc
+
+sig=5.9*10^7//per Ohm-m
+e=1.6*10^-19//C
+mu=3.2*10^-3//m^2/V-s
+d=8900//density
+avg=6.022*10^23
+ni=sig/(e*mu)
+awt=63.5
+n=avg*d*1000/awt
+k=ni/n
+printf("Concentration of free electron in pure Cu is %.2f*10^28\nThe average number of electrons contributed per Cu atom is %.2f i.e. %.0f",n*10^-28,k,k)
|