summaryrefslogtreecommitdiff
path: root/623/CH1/EX1.1.13
diff options
context:
space:
mode:
Diffstat (limited to '623/CH1/EX1.1.13')
-rwxr-xr-x623/CH1/EX1.1.13/U1_C1_13.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/623/CH1/EX1.1.13/U1_C1_13.sce b/623/CH1/EX1.1.13/U1_C1_13.sce
new file mode 100755
index 000000000..3c30041ee
--- /dev/null
+++ b/623/CH1/EX1.1.13/U1_C1_13.sce
@@ -0,0 +1,9 @@
+//variable initialization
+Theta=120 //Scattering angle of photon (degree)
+T=0.45 //Kinetic energy of electron (MeV)
+a=0.51 //Value of m0*c^2 (Mev)
+
+//Calculation of the energy of the incident photon
+E=0.5*T*(1+(1+(2*a)/(T*(sind(Theta/2))^2))^(1/2)); //Energy of the incident photon (MeV)
+
+printf("\nEnergy of the incident photon = %.2f Mev",E);