summaryrefslogtreecommitdiff
path: root/1871/CH2/EX2.2/Ch02Ex2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1871/CH2/EX2.2/Ch02Ex2.sce')
-rwxr-xr-x1871/CH2/EX2.2/Ch02Ex2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1871/CH2/EX2.2/Ch02Ex2.sce b/1871/CH2/EX2.2/Ch02Ex2.sce
new file mode 100755
index 000000000..033bf2c72
--- /dev/null
+++ b/1871/CH2/EX2.2/Ch02Ex2.sce
@@ -0,0 +1,13 @@
+// Scilab code Ex2.2: Pg:79(2008)
+clc;clear;
+amu = 1.67e-027; // Mass of a nucleon, kg
+E = 8e+004; // Electric field in a Bainbridge mass spectrograph, V/m
+B = 0.55; // Magnetic induction, Wb per square meter
+M1 = 20; // Atomic mass of first isotope of neon, amu
+M2 = 22; // Atomic mass of second isotope of neon, amu
+q = 1.602e-019; // Charge of the ion, coulomb
+delta_x = 2*E*(M2-M1)*amu/(q*B^2); // Separation between the lines, mm
+printf("\nLinear separation between the lines on a photographic plates = %4.2f m", delta_x);
+
+// Result
+// Linear separation between the lines on a photographic plates= 0.01 m \ No newline at end of file