diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /767/CH5/EX5.7.3/Ch05Exa5_7_3.sci | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '767/CH5/EX5.7.3/Ch05Exa5_7_3.sci')
-rwxr-xr-x | 767/CH5/EX5.7.3/Ch05Exa5_7_3.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/767/CH5/EX5.7.3/Ch05Exa5_7_3.sci b/767/CH5/EX5.7.3/Ch05Exa5_7_3.sci new file mode 100755 index 000000000..99610af13 --- /dev/null +++ b/767/CH5/EX5.7.3/Ch05Exa5_7_3.sci @@ -0,0 +1,10 @@ +// Scilab code Exa5.7.3: To calculate the wavelength of the incident beam of X-rays : P.no. 234 (2011)
+h = 6.626e-034; // Value of Planck's constant, J
+m_e = 9.11e-031; // Mass of the electron,Kg
+c = 3e-04; // Velocity of light, pm/s
+A = 90; // Angle between scattered radiation and incident radiation, degree
+W_s = 3.8; // Wavelength of scattered radiation, pm
+W_i = [W_s - h/(m_e*c)*(1-cosd(A))]; // Wavelength of incident beam of Xrays, pm
+printf("\nWavelength of incident beam of X-rays : %4.2f pm", W_i )
+// Result
+// Wavelength of incident beam of X-rays : 1.38 pm
|