summaryrefslogtreecommitdiff
path: root/3828/CH12/EX12.3/Ex12_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH12/EX12.3/Ex12_3.sce')
-rw-r--r--3828/CH12/EX12.3/Ex12_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3828/CH12/EX12.3/Ex12_3.sce b/3828/CH12/EX12.3/Ex12_3.sce
new file mode 100644
index 000000000..712712f20
--- /dev/null
+++ b/3828/CH12/EX12.3/Ex12_3.sce
@@ -0,0 +1,19 @@
+//Chapter 12 : Semiconductor Physics
+
+clear;
+
+//Variable declaration
+myun=0.39 //mobility of electrons
+myup=0.21 //mobility of holes
+ni=2.5*10**19 //intrinsic concentration
+e=1.6*10**-19
+
+//Calculations
+sigmai=ni*e*(myun+myup) //conductivity of intrinsic semiconductor
+rhoi=1/sigmai
+
+//Result
+mprintf("Conductivity = %.1f ohm**-1-m**-1",sigmai)
+mprintf("\nResistivity= %.2f ohm-m",rhoi)
+//The answer provided in the textbook is wrong
+