diff options
Diffstat (limited to '767/CH5/EX5.7.5/Ch05Exa5_7_5.sci')
-rwxr-xr-x | 767/CH5/EX5.7.5/Ch05Exa5_7_5.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/767/CH5/EX5.7.5/Ch05Exa5_7_5.sci b/767/CH5/EX5.7.5/Ch05Exa5_7_5.sci new file mode 100755 index 000000000..e2602a553 --- /dev/null +++ b/767/CH5/EX5.7.5/Ch05Exa5_7_5.sci @@ -0,0 +1,13 @@ +// Scilab code Exa 5.7.5 : To calculate the energy of the scattered photon and the energy of recoil electron : P.no. 235 (2011)
+h = 6.626e-034; // Value of Planck's constant, J
+m_e = 9.11e-031; // Mass of the electron,Kg
+c = 3e+08; // Velocity of light, pm/s
+A = 180; // Angle between scattered radiation and incident radiation, degree
+E_i = 1836; // Energy of the incident electron, KeV
+E = 1/E_i + 1/511*(1-cosd(A));
+E_s = round(1/E); // Energy of the sscattered photon, KeV
+E_r = E_i-E_s; // Energy of the recoil electron, KeV
+printf("\n Energy of the scattered photon = %d KeV \n Energy of the recoil electron = %d KeV ", E_s, E_r )
+// Result
+// Energy of the scattered photon = 224 KeV
+ // Energy of the recoil electron = 1612 KeV
\ No newline at end of file |