summaryrefslogtreecommitdiff
path: root/3669/CH8/EX8.3/3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH8/EX8.3/3.sce')
-rw-r--r--3669/CH8/EX8.3/3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3669/CH8/EX8.3/3.sce b/3669/CH8/EX8.3/3.sce
new file mode 100644
index 000000000..0991a2dc7
--- /dev/null
+++ b/3669/CH8/EX8.3/3.sce
@@ -0,0 +1,12 @@
+
+//Variable declaration
+mewn=0.21; //mobility of electrons(m**2/Vs)
+e=1.6*10**-19;
+Kb=1.38*10**-23; //boltzmann constant
+T=300; //temperature(K)
+
+//Calculation
+Dn=mewn*Kb*T/e; //diffusion coefficient of electrons(m**2/s)
+
+//Result
+printf('diffusion coefficient of electrons is %0.3f *10**-4 m**2/s \n',(Dn*10**4)) \ No newline at end of file