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 /884/CH7 | |
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 '884/CH7')
-rwxr-xr-x | 884/CH7/EX7.1/Example7_1.sce | 14 | ||||
-rwxr-xr-x | 884/CH7/EX7.2/Example7_2.sce | 14 | ||||
-rwxr-xr-x | 884/CH7/EX7.3/Example7_3.sce | 22 | ||||
-rwxr-xr-x | 884/CH7/EX7.4/Example7_4.sce | 18 | ||||
-rwxr-xr-x | 884/CH7/EX7.5/Example7_5.sce | 23 |
5 files changed, 91 insertions, 0 deletions
diff --git a/884/CH7/EX7.1/Example7_1.sce b/884/CH7/EX7.1/Example7_1.sce new file mode 100755 index 000000000..4c5fcb7cf --- /dev/null +++ b/884/CH7/EX7.1/Example7_1.sce @@ -0,0 +1,14 @@ +//calculation of speed of a wave
+
+clear;
+clc;
+
+printf("\t Example 7.1\n");
+
+lambda=17.4;//wavelength, cm
+v=87.4;//frequency, Hz
+u=lambda*v;//speed of wave, cm/s
+
+printf("\t the speed of a wave is : %4.2f *10^3 cm/s\n",u*10^-3);
+
+//End
diff --git a/884/CH7/EX7.2/Example7_2.sce b/884/CH7/EX7.2/Example7_2.sce new file mode 100755 index 000000000..6de825568 --- /dev/null +++ b/884/CH7/EX7.2/Example7_2.sce @@ -0,0 +1,14 @@ +//calculation of frequency of a wave
+
+clear;
+clc;
+
+printf("\t Example 7.2\n");
+
+lambda=522*10^-9;//wavelength, m
+c=3*10^8;//speed of light in vacuum, m/s
+v=c/lambda;//frequency, Hz
+
+printf("\t the frequency of the wave is : %4.2f *10^14 Hz\n",v*10^-14);
+
+//End
diff --git a/884/CH7/EX7.3/Example7_3.sce b/884/CH7/EX7.3/Example7_3.sce new file mode 100755 index 000000000..d3319c4da --- /dev/null +++ b/884/CH7/EX7.3/Example7_3.sce @@ -0,0 +1,22 @@ +//calculation of energy of a photon
+
+clear;
+clc;
+
+printf("\t Example 7.3\n");
+
+c=3*10^8;//speed of light in vacuum, m/s
+h=6.63*10^-34;//planck's constant, J s
+//(a)
+lambda=5*10^-5;//wavelength, m
+E=h*c/lambda;//energy, J
+
+printf("\t (a) the energy of the photon is : %4.2f *10^-21 J\n",E*10^21);
+
+//(b)
+lambda=5*10^-11;//wavelength, m
+E=h*c/lambda;//energy, J
+
+printf("\t (b) the energy of the photon is : %4.2f *10^-15 J\n",E*10^15);
+
+//End
diff --git a/884/CH7/EX7.4/Example7_4.sce b/884/CH7/EX7.4/Example7_4.sce new file mode 100755 index 000000000..adee9ac51 --- /dev/null +++ b/884/CH7/EX7.4/Example7_4.sce @@ -0,0 +1,18 @@ +//calculation of wavelength of a photon from an electronic transition
+
+clear;
+clc;
+
+printf("\t Example 7.4\n");
+
+c=3*10^8;//speed of light in vacuum, m/s
+h=6.63*10^-34;//planck's constant, J s
+Rh=2.18*10^-18;//rydberg's constant, J
+ni=5;//initial orbit
+nf=2;//final orbit
+deltaE=Rh*(1/ni^2-1/nf^2);
+lambda=c*h/-deltaE;
+
+printf("\t the wavelength of the photon is : %4.0f nm\n",lambda*10^9);
+
+//End
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
|