summaryrefslogtreecommitdiff
path: root/3828/CH12/EX12.6/Ex12_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH12/EX12.6/Ex12_6.sce')
-rw-r--r--3828/CH12/EX12.6/Ex12_6.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH12/EX12.6/Ex12_6.sce b/3828/CH12/EX12.6/Ex12_6.sce
new file mode 100644
index 000000000..efd2cdb1f
--- /dev/null
+++ b/3828/CH12/EX12.6/Ex12_6.sce
@@ -0,0 +1,16 @@
+//Chapter 12 : Semiconductor Physics
+
+clear;
+
+//Variable declaration
+RH=3.66*10**-4 //Hall coefficient
+t=10**-3 //thickness
+I=1 //current
+B=0.5 //magnetic induction
+
+//Calculations
+VH=(RH*I*B)/t
+
+//Result
+mprintf("Hall voltage VH= %.3f V",VH)
+