diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3669/CH5/EX5.5/5.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3669/CH5/EX5.5/5.sce')
-rw-r--r-- | 3669/CH5/EX5.5/5.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3669/CH5/EX5.5/5.sce b/3669/CH5/EX5.5/5.sce new file mode 100644 index 000000000..260e44e3e --- /dev/null +++ b/3669/CH5/EX5.5/5.sce @@ -0,0 +1,20 @@ +
+//Variable declaration
+L=5; //length(m)
+R=0.06; //resistance(ohm)
+I=15; //current(A)
+ne=3; //number of electrons
+rho=2.7*10**-8; //resistivity(ohm m)
+w=26.98; //atomic weight
+D=2.7*10**3; //density(kg/m**3)
+Na=6.025*10**26; //avagadro number(per k mol)
+e=1.6*10**-19;
+//Calculation
+n=ne*Na*D/w; //number of conduction electrons(per m**3)
+mew=1/(n*e*rho); //mobility of electrons(m**2/Vs)
+vd=I*R/(L*rho*n*e); //drift velocity(m/s)
+
+//Result
+printf('number of conduction electrons is %0.3f *10**29 per m**3 \n',(n/10**29))
+printf('mobility of electrons is %0.3f m**2/Vs \n',(mew))
+printf('drift velocity is %0.3f *10**-4 m/s\n',(vd*10**4))
|