diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3717/CH20/EX20.1/Ex20_1.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3717/CH20/EX20.1/Ex20_1.sce')
-rw-r--r-- | 3717/CH20/EX20.1/Ex20_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3717/CH20/EX20.1/Ex20_1.sce b/3717/CH20/EX20.1/Ex20_1.sce new file mode 100644 index 000000000..f7c1a5289 --- /dev/null +++ b/3717/CH20/EX20.1/Ex20_1.sce @@ -0,0 +1,22 @@ +// Ex20_1 Page:390 (2014)
+clc;clear;
+e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
+m = 1.67e-027; // Mass of a nucleon, kg
+h = 6.626e-034; // Planck's constant, Js
+E = 30; // Energy of alpha particle, MeV
+r = 1.2e-015; // Nuclear constant, m
+lambda_p = h/sqrt(2*m*E*1e+006*e); // de-Broglie wavelength of the proton, m
+lambda_a = h/sqrt(2*4*m*E*1e+006*e); // de-Broglie wavelength of the alpha particle, m
+d = 2*r; // size of the nucleon, m
+printf("\nThe wavelength of the proton = %3.1e m", lambda_p);
+printf("\nThe wavelength of the alpha particle = %3.1e m", lambda_a);
+if ((lambda_p - d) < (lambda_a - d)) then
+ printf("\nThe proton is better for studying the nuclear details.")
+else
+ printf("\nThe alpha particle is better for studying the nuclear details.")
+end
+
+// Result
+// The wavelength of the proton = 5.2e-015 m
+// The wavelength of the alpha particle = 2.6e-015 m
+// The alpha particle is better for studying the nuclear details.
\ No newline at end of file |