summaryrefslogtreecommitdiff
path: root/273/CH18/EX18.8
diff options
context:
space:
mode:
Diffstat (limited to '273/CH18/EX18.8')
-rwxr-xr-x273/CH18/EX18.8/ex18_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/273/CH18/EX18.8/ex18_8.sce b/273/CH18/EX18.8/ex18_8.sce
new file mode 100755
index 000000000..85ddf7ab7
--- /dev/null
+++ b/273/CH18/EX18.8/ex18_8.sce
@@ -0,0 +1,16 @@
+clc;clear;
+//Example 18.8
+//calculation of Hall voltage
+
+//given values
+ND=10^21;//donor density per m^3
+B=.5;//magnetic field in T
+J=500;//current density in A/m^2
+w=3*10^-3;//width in m
+e=1.6*10^-19;//charge in C
+
+//calculation
+
+
+V=B*J*w/(ND*e);//in volts
+disp(V*10^3,'Hall voltage in mv is'); \ No newline at end of file