summaryrefslogtreecommitdiff
path: root/3636/CH3/EX3.7/Ex3_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH3/EX3.7/Ex3_7.sce')
-rw-r--r--3636/CH3/EX3.7/Ex3_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3636/CH3/EX3.7/Ex3_7.sce b/3636/CH3/EX3.7/Ex3_7.sce
new file mode 100644
index 000000000..7f2efa757
--- /dev/null
+++ b/3636/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,17 @@
+clear;
+clc;
+n0=5*10^16 //doping level of Si with As in cm^-3
+myu_n=800 //in cm^2/Vs
+Ix=2*10^-3 //in A
+Bz=5*10^-5 //in A
+d=2*10^-2 //in cm
+e=1.6*10^-19 //in J
+
+//Calculation
+p=1/(e*myu_n*n0)
+RH=-1/(e*n0)
+VH=(Ix*Bz*RH)/(d)
+
+mprintf("Resistivity= %0.3f ohm-cm\n",p)
+mprintf("Hall coefficient= %i cm^3/c\n",RH)
+mprintf("Hall Voltage= %.2e V",VH)