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 /3755/CH6/EX6.1/Ex6_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 '3755/CH6/EX6.1/Ex6_1.sce')
-rw-r--r-- | 3755/CH6/EX6.1/Ex6_1.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3755/CH6/EX6.1/Ex6_1.sce b/3755/CH6/EX6.1/Ex6_1.sce new file mode 100644 index 000000000..8668c2724 --- /dev/null +++ b/3755/CH6/EX6.1/Ex6_1.sce @@ -0,0 +1,24 @@ +clear
+//
+//
+//
+
+//Variable declaration
+h=6.625*10^-34; //planck's constant(J-sec)
+m=0.05; //mass(kg)
+v=20; //velocity(m/sec)
+mp=1.67*10^-27; //mass of proton(kg)
+vp=2200; //velocity of proton(m/sec)
+me=9.11*10^-31; //mass of electron(kg)
+E=10*1.602*10^-19; //kinetic energy(J)
+
+//Calculations
+lamda_ball=h/(m*v); //de-broglie wavelength of ball(m)
+lamda_p=h*10^10/(mp*vp); //de-broglie wavelength of proton(angstrom)
+lamda_e=h/(2*me*E); //de-broglie wavelength of electron(m)
+
+//Result
+printf("\n de-broglie wavelength of ball is %e m",lamda_ball)
+printf("\n de-broglie wavelength of proton is %0.2f angstrom",lamda_p)
+printf("\n de-broglie wavelength of electron is %0.2f *10^14 m",lamda_e/10^14)
+printf("\n answer for de-broglie wavelength of electron in the book is wrong")
|