summaryrefslogtreecommitdiff
path: root/3768/CH9/EX9.7/Ex9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH9/EX9.7/Ex9_7.sce')
-rw-r--r--3768/CH9/EX9.7/Ex9_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3768/CH9/EX9.7/Ex9_7.sce b/3768/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..be5511d10
--- /dev/null
+++ b/3768/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,14 @@
+//Example number 9.7, Page number 205
+
+clc;clear;
+close;
+
+//Variable declaration
+e=1.6*10**-19; //charge(c)
+mew_e=0.19; //electron mobility(m**2/Vs)
+T=300; //temperature(K)
+KB=1.38*10**-23; //boltzmann constant
+//Calculation
+Dn=mew_e*KB*T/e; //diffusion coefficient(m**2/sec)
+//Result
+printf("diffusion coefficient is %.1e m^2/s",Dn)