summaryrefslogtreecommitdiff
path: root/3710/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3710/CH2/EX2.1/Ex2_1.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3710/CH2/EX2.1/Ex2_1.sce')
-rw-r--r--3710/CH2/EX2.1/Ex2_1.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3710/CH2/EX2.1/Ex2_1.sce b/3710/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..bfb5fcbbc
--- /dev/null
+++ b/3710/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,25 @@
+//Example 2.1, Page Number 51
+//Conductivity Calculation
+clc;
+
+dc=8.93*(10**3) //Density of Copper in Kg/meter cube
+N=63.54 //Atomic Mass Number of Copper in amu
+t=2.6*(10**-14)//Mean free time between collision (in seconds)
+m=9.1*(10**-31) //Mass of electron in kilogram
+em=0.135 //Electron Mobility in meter square per volt second
+hm=0.048 //Hole Mobility in meter square per volt second
+n=1.6*(10**16) //Concentration per meter cube
+an=6*(10**26) //Avogadro's number per mole
+e=1.6*(10**-19) //Charge of an electron in Coulombs
+
+n1=(an*dc)/N //Free electron concentration/No. of atoms per unit volume
+
+rhoc=(n1*e*em)/3 //Conductivity of Copper in per ohm m
+
+//From equation 2.24
+rhos=n*e*(em+hm) //Conductivity of Copperintrinsic silicon in per ohm m
+
+
+mprintf("Free Electron Concentration is: %.2e per meter cube\n",n1);
+mprintf(" Conductivity of copper is:%.2e per ohm meter\n",rhoc)//The answer provided for rhoc in the textbook is wrong
+mprintf(" Conductivity of intrinsic silicon is:%.2e per ohm meter\n",rhos)