summaryrefslogtreecommitdiff
path: root/3828/CH12/EX12.7
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH12/EX12.7')
-rw-r--r--3828/CH12/EX12.7/Ex12_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH12/EX12.7/Ex12_7.sce b/3828/CH12/EX12.7/Ex12_7.sce
new file mode 100644
index 000000000..d9a79c2e6
--- /dev/null
+++ b/3828/CH12/EX12.7/Ex12_7.sce
@@ -0,0 +1,16 @@
+//Chapter 12 : Semiconductor Physics
+
+clear;
+
+//Variable declaration
+RH=7.5*10**-5 //Hall coefficient
+sigma=200 //conductivity
+e=1.6*10**-19 //electron charge
+
+//Calculations
+n=1/(e*RH)/10**22
+myu=sigma*RH
+
+//Result
+mprintf("Charge density= %.2f*10**22 /m**3",n)
+mprintf("\nMobility= %.3f m**2 V**-1 s**-1",myu)