summaryrefslogtreecommitdiff
path: root/3411/CH15/EX7.5.u2/Ex7_5_u2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH15/EX7.5.u2/Ex7_5_u2.sce')
-rw-r--r--3411/CH15/EX7.5.u2/Ex7_5_u2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3411/CH15/EX7.5.u2/Ex7_5_u2.sce b/3411/CH15/EX7.5.u2/Ex7_5_u2.sce
new file mode 100644
index 000000000..cb96ea6fd
--- /dev/null
+++ b/3411/CH15/EX7.5.u2/Ex7_5_u2.sce
@@ -0,0 +1,13 @@
+//Example 7_5_u2
+clc();
+clear;
+//To find the hall voltage
+e=1.6*10^-19 //units in eV
+n=10^16
+Rh=-1/(e*n)
+i=10^-3
+Bz=10^-4
+a=2.5*10^-3
+w=500*10^-4
+Vh=((Rh*i*Bz)/a)*w //units in mV
+printf("The hall voltage is Vh=%.5f mV",Vh)