summaryrefslogtreecommitdiff
path: root/2243/CH6/EX6.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2243/CH6/EX6.5
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 '2243/CH6/EX6.5')
-rwxr-xr-x2243/CH6/EX6.5/Ex6_5.sce20
-rwxr-xr-x2243/CH6/EX6.5/Res6_5.txt1
2 files changed, 21 insertions, 0 deletions
diff --git a/2243/CH6/EX6.5/Ex6_5.sce b/2243/CH6/EX6.5/Ex6_5.sce
new file mode 100755
index 000000000..5833aba37
--- /dev/null
+++ b/2243/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,20 @@
+clc();
+clear;
+//Given :
+ME = 35*10^3 ; //Maximum energy in eV
+theta = %pi; // photon is backscattered
+h = 6.625*10^-34; //planck's constant in Js
+m0 = 9.1*10^-31; //electron mass in Kg
+c = 3*10^8; //Speed of light in m/s
+deltalambda = (h*(1-cos(theta)))/(m0*c); // in A
+// (h*c/lambda) - (h*c/lambda') = 35 KeV or (deltalambda/lambda*lambda1) = (35 KeV/h*c)
+//Simplifying the above Equation , we will obtain : lambda^2 + 0.048 lambda - 0.017
+//Roots of the quadratic equation are :
+values = [-0.017,0.048,1]; // a,b,c values of the quadratic equation
+equation = poly(values,'lamb','coeff'); //quadratic equation
+r = roots(equation); //Roots of the final equation
+printf("Incident photon wavelength in Compton scattering is %.2f A",r(2));
+
+
+
+
diff --git a/2243/CH6/EX6.5/Res6_5.txt b/2243/CH6/EX6.5/Res6_5.txt
new file mode 100755
index 000000000..7af7c9af6
--- /dev/null
+++ b/2243/CH6/EX6.5/Res6_5.txt
@@ -0,0 +1 @@
+ Incident photon wavelength in Compton scattering is 0.11 A \ No newline at end of file