summaryrefslogtreecommitdiff
path: root/1871/CH7/EX7.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1871/CH7/EX7.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1871/CH7/EX7.5')
-rwxr-xr-x1871/CH7/EX7.5/Ch07Ex5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1871/CH7/EX7.5/Ch07Ex5.sce b/1871/CH7/EX7.5/Ch07Ex5.sce
new file mode 100755
index 000000000..330e83e12
--- /dev/null
+++ b/1871/CH7/EX7.5/Ch07Ex5.sce
@@ -0,0 +1,14 @@
+// Scilab code Ex7.5: Pg:288 (2008)
+clc;clear;
+m = 3.34e-027; // Mass of deutron, gm
+q = 1.6e-019; // Charge, coulomb
+r = 0.2; // Radius of the path of deutron, meter
+B = 1.5; // Magnetic field, weber per meter square
+v = q*B*r/m; // velocity of the deutron, m/s
+E = 1/2*m*v^2/1.6e-013; // Energy of the deutron, MeV
+printf("\nThe velocity of deutron = %5.3e m/s ", v);
+printf("\nThe energy of deutron = %5.3f MeV ", E);
+
+// Result
+// The velocity of deutron = 1.437e+007 m/s
+// The energy of deutron = 2.156 MeV \ No newline at end of file