From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3014/CH3/EX3.10/Ex3_10.sce | 11 +++++++++++ 3014/CH3/EX3.10/Ex3_10.txt | 3 +++ 2 files changed, 14 insertions(+) create mode 100755 3014/CH3/EX3.10/Ex3_10.sce create mode 100755 3014/CH3/EX3.10/Ex3_10.txt (limited to '3014/CH3/EX3.10') diff --git a/3014/CH3/EX3.10/Ex3_10.sce b/3014/CH3/EX3.10/Ex3_10.sce new file mode 100755 index 000000000..fee4c2953 --- /dev/null +++ b/3014/CH3/EX3.10/Ex3_10.sce @@ -0,0 +1,11 @@ + clc +//given that +E = 100 // Energy of X ray beam in KeV +theta = 30 // Scattering angle in degree +m = 9.1e-31 // mass of electron in kg +c = 3e8 // Speed of light in m/s +printf("Example 3.10") +E_rest = m*c^2/(1.6e-19*1e3) // Rest mass energy in KeV +k = 1/E + (1-cos(theta*%pi/180))/(E_rest) +del_e = E - 1/k // Energy of recoiled electron + printf("\n Energy of recoiled electron is %f KeV\n\n\n",del_e) diff --git a/3014/CH3/EX3.10/Ex3_10.txt b/3014/CH3/EX3.10/Ex3_10.txt new file mode 100755 index 000000000..332227ac7 --- /dev/null +++ b/3014/CH3/EX3.10/Ex3_10.txt @@ -0,0 +1,3 @@ + +Example 3.10 + Energy of recoiled electron is 2.550573 KeV \ No newline at end of file -- cgit