summaryrefslogtreecommitdiff
path: root/767/CH6/EX6.9.1
diff options
context:
space:
mode:
Diffstat (limited to '767/CH6/EX6.9.1')
-rwxr-xr-x767/CH6/EX6.9.1/Ch06Exa6_9_1.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/767/CH6/EX6.9.1/Ch06Exa6_9_1.sci b/767/CH6/EX6.9.1/Ch06Exa6_9_1.sci
new file mode 100755
index 000000000..e100effe6
--- /dev/null
+++ b/767/CH6/EX6.9.1/Ch06Exa6_9_1.sci
@@ -0,0 +1,7 @@
+// Scilab code Exa6.9.1 : To determine the ratio of highest to the lowest frequency of cyclotron accelerating protons whose energy is given. Page 273(2011)
+K = 500; // Kinetic energy of the proton, MeV
+E_r = 938; // Rest mass energy of the proton, MeV
+R_f = E_r/(K+E_r); // The ratio of highest to the lowest frequency,
+printf("\nThe ratio of highest to the lowest frequency : %4.2f ", R_f)
+// Result
+// The ratio of highest to the lowest frequency : 0.65 \ No newline at end of file