summaryrefslogtreecommitdiff
path: root/3651/CH6/EX6.16/16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH6/EX6.16/16.sce')
-rw-r--r--3651/CH6/EX6.16/16.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3651/CH6/EX6.16/16.sce b/3651/CH6/EX6.16/16.sce
new file mode 100644
index 000000000..f2853f1e4
--- /dev/null
+++ b/3651/CH6/EX6.16/16.sce
@@ -0,0 +1,17 @@
+
+//Variable declaration
+rho=47*10**-2
+e=1.6*10**-19
+mu_n=0.39
+mu_p=0.19
+E=10**4
+
+//Calculations
+ni=1/(rho*e*(mu_n+mu_p))
+Dh=mu_p*E
+De=mu_n*E
+
+//Results
+printf('ni = %0.3f *10**19 /m**3 \n',(ni/10**19))
+printf('Drift velocity of holes %0.3f ms**-1 \n',Dh)
+printf('Drift velocity of electrons= %0.3f ms**-1 \n',De) \ No newline at end of file