diff options
Diffstat (limited to '884/CH7/EX7.5/Example7_5.sce')
-rwxr-xr-x | 884/CH7/EX7.5/Example7_5.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/884/CH7/EX7.5/Example7_5.sce b/884/CH7/EX7.5/Example7_5.sce new file mode 100755 index 000000000..bef21012b --- /dev/null +++ b/884/CH7/EX7.5/Example7_5.sce @@ -0,0 +1,23 @@ +//calculation of wavelength of a particle
+
+clear;
+clc;
+
+printf("\t Example 7.5\n");
+
+//(a)
+h=6.63*10^-34;//planck's constant, J s
+m=0.06;//mass, kg
+u=63;//speed, m/s
+lambda=h/(m*u);//wavelength, m
+
+printf("\t the wavelength of the tennis ball is : %4.1f *10^-34 m\n",lambda*10^34);
+
+//(b)
+m=9.1094*10^-31;//mass, kg
+u=68;//speed, m/s
+lambda=h/(m*u);//wavelength, m
+
+printf("\t the wavelength of the electron is : %4.1f *10^-5 m\n",lambda*10^5);
+
+//End
|