summaryrefslogtreecommitdiff
path: root/3754/CH10/EX10.20/10_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH10/EX10.20/10_20.sce')
-rw-r--r--3754/CH10/EX10.20/10_20.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3754/CH10/EX10.20/10_20.sce b/3754/CH10/EX10.20/10_20.sce
new file mode 100644
index 000000000..c03415d9c
--- /dev/null
+++ b/3754/CH10/EX10.20/10_20.sce
@@ -0,0 +1,16 @@
+clear//
+
+//Variables
+
+p = 20 * 10**-2 //Resistivity (in ohm-meter)
+u = 100 * 10**-4 //mobility (in meter-square per volt-second)
+q = 1.6 * 10**-19 //charge on electron (in Coulomb)
+
+//Calculation
+
+sig = 1/p //Conductivity (in per ohm-meter)
+n = sig / (q * u) //number of electron carriers (in per cubic-meter)
+
+//Result
+
+printf("\n Number of electron carriers is %0.1f m**-3.",n)