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 /3875/CH10/EX10.21/10_21.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 '3875/CH10/EX10.21/10_21.sce')
-rw-r--r-- | 3875/CH10/EX10.21/10_21.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3875/CH10/EX10.21/10_21.sce b/3875/CH10/EX10.21/10_21.sce new file mode 100644 index 000000000..b6e649f42 --- /dev/null +++ b/3875/CH10/EX10.21/10_21.sce @@ -0,0 +1,24 @@ +clc;
+clear;
+KE=10*1.6*10^-19 //energy in J
+m=9.1*10^-31 //mass in kg
+h=6.63*10^-34 //Plancks constant in J-s
+m_h=2*10^-3 //molecular weight of hydrogen in kg
+a=6.023*10^23 //Avogadros constant in mol^-1
+v=2200 //velocity in m/s
+m_g=45*10^-3 //mass of golf ball in kg]
+v_g=22 //velocity of golf ball in m/s
+
+//calculation
+//case (a)
+lambda=(h/sqrt(2*m*KE))
+mprintf("The de-Broglie wavelength is = %1.3e m or 0.388 nm\n",lambda)
+
+//case (b)
+m=m_h/a //mass in kg
+lambda=(h/(m*v))
+mprintf("The de-Broglie wavelength is = %1.2e m or 0.988 nm\n",lambda) //The answer provided in the textbook is wrong.
+
+//case (c)
+lambda1=h/(m_g*v_g)
+mprintf("The de-Broglie wavelength of the golf ball is = %1.1e m",lambda1)
|