summaryrefslogtreecommitdiff
path: root/3754/CH10/EX10.19/10_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH10/EX10.19/10_19.sce')
-rw-r--r--3754/CH10/EX10.19/10_19.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3754/CH10/EX10.19/10_19.sce b/3754/CH10/EX10.19/10_19.sce
new file mode 100644
index 000000000..cda49cc55
--- /dev/null
+++ b/3754/CH10/EX10.19/10_19.sce
@@ -0,0 +1,17 @@
+clear//
+
+//Variables
+
+I = 50 //Current (in Ampere)
+B = 1.2 //Magnetic field (in Weber per meter-square)
+t = 0.5 * 10**-3 //thickness (in meter)
+VH = 100 //Hall coltage (in volts)
+q = 1.6 * 10**-19 //Charge on electron (in Coulomb)
+
+//Calculation
+
+n = B * I / (VH * q * t) //number of conduction electrons (in per cubic-meter)
+
+//Result
+
+printf("\n Number of conduction electrons is %0.3f m**-3.",n)