summaryrefslogtreecommitdiff
path: root/3665/CH7/EX7.4/Ex7_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH7/EX7.4/Ex7_4.sce')
-rw-r--r--3665/CH7/EX7.4/Ex7_4.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3665/CH7/EX7.4/Ex7_4.sce b/3665/CH7/EX7.4/Ex7_4.sce
new file mode 100644
index 000000000..c37ca0146
--- /dev/null
+++ b/3665/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,23 @@
+clc//
+//
+//
+
+//Variable declaration
+R=0.06; //resistance(ohm)
+I=15; //current(A)
+D=5; //length(m)
+MA=26.98; //atomic mass
+rho_s=2.7*10^3; //density(kg/m^3)
+NA=6.025*10^26; //avagadro number(per k mol)
+e=1.602*10^-19; //charge(coulomb)
+
+//Calculation
+n=3*rho_s*NA/MA; //free electron concentration(electrons/m^2)
+mew=1/(n*e*rho_s*10^-11); //mobility(m s-1 V-1)
+E=I*R/D; //electric field(V/m)
+vd=mew*E; //drift velocity of electrons(m/s)
+
+//Result
+printf("\n free electron concentration is %0.4f *10^29 electrons/m^2",n/10^29)
+printf("\n mobility is %0.3f *10^-3 m s-1 V-1",mew*10^3)
+printf("\n drift velocity of electrons is %0.2f *10^-3 m s-1",vd*10^3)