summaryrefslogtreecommitdiff
path: root/767/CH6/EX6.9.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /767/CH6/EX6.9.2
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 '767/CH6/EX6.9.2')
-rwxr-xr-x767/CH6/EX6.9.2/Ch06Exa6_9_2.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/767/CH6/EX6.9.2/Ch06Exa6_9_2.sci b/767/CH6/EX6.9.2/Ch06Exa6_9_2.sci
new file mode 100755
index 000000000..4f9b54331
--- /dev/null
+++ b/767/CH6/EX6.9.2/Ch06Exa6_9_2.sci
@@ -0,0 +1,10 @@
+// Scilab code Exa6.9.2 : To calculate the w/B ratio for a completely stripped nitrogen to move in a stable orbit : Page 274(2011)
+E_k = 1200; // Kinetic energy of the proton, MeV
+q = 7; // Number of proton in nitrogen
+E_r = 13040 // Rest mass energy of the electron, MeV
+E = (E_k+E_r)*1.6e-013; // Total energy,j
+c = 3e+08; // Velocity of light, m/s
+R_w_B = q*1.6e-019*c^2/E; // Ratio of w/B, m^2/W
+printf("\nThe ratio of w/B : %4.2e m^2/W ", R_w_B)
+// Result
+// The ratio of w/B : 4.42e+007 m^2/W \ No newline at end of file