summaryrefslogtreecommitdiff
path: root/623/CH2
diff options
context:
space:
mode:
Diffstat (limited to '623/CH2')
-rwxr-xr-x623/CH2/EX2.1.1/U2_C1_1.sce22
-rwxr-xr-x623/CH2/EX2.1.10/U2_C1_10.sce8
-rwxr-xr-x623/CH2/EX2.1.11/U2_C1_11.sce9
-rwxr-xr-x623/CH2/EX2.1.12/U2_C1_12.sce9
-rwxr-xr-x623/CH2/EX2.1.13/U2_C1_13.sce9
-rwxr-xr-x623/CH2/EX2.1.14/U2_C1_14.sce12
-rwxr-xr-x623/CH2/EX2.1.15/U2_C1_15.sce14
-rwxr-xr-x623/CH2/EX2.1.2/U2_C1_2.sce16
-rwxr-xr-x623/CH2/EX2.1.3/U2_C1_3.sce20
-rwxr-xr-x623/CH2/EX2.1.4/U2_C1_4.sce9
-rwxr-xr-x623/CH2/EX2.1.5/U2_C1_5.sce22
-rwxr-xr-x623/CH2/EX2.1.6/U2_C1_6.sce15
-rwxr-xr-x623/CH2/EX2.1.7/U2_C1_7.sce34
-rwxr-xr-x623/CH2/EX2.1.8/U2_C1_8.sce19
-rwxr-xr-x623/CH2/EX2.1.9/U2_C1_9.sce8
15 files changed, 226 insertions, 0 deletions
diff --git a/623/CH2/EX2.1.1/U2_C1_1.sce b/623/CH2/EX2.1.1/U2_C1_1.sce
new file mode 100755
index 000000000..d774105f9
--- /dev/null
+++ b/623/CH2/EX2.1.1/U2_C1_1.sce
@@ -0,0 +1,22 @@
+//variable initialization
+c1=0.01
+c2=0.1
+c3=1
+c4=10
+b=2.898*10^-3; //Wien's constant (meter-kelvin)
+h=(6.625*10^-34)/(2*%pi); //Planck's constant (joule-second)
+c=3*10^8; //speed of light (meter/second)
+k=1.38*10^-23; //Boltzmann constant (joule/kelvin)
+T=3000 //Temperature of black body (kelvin)
+Delta_lembda=1*10^-9; //wavelength interval (meter)
+
+//(a)Average energy of Planck's oscillator:
+E1=c1/(%e^c1-1); //Average energy of Planck's oscillator
+E2=c2/(%e^c2-1); //Average energy of Planck's oscillator
+E3=c3/(%e^c3-1); //Average energy of Planck's oscillator
+E4=c4/(%e^c4-1); //Average energy of Planck's oscillator
+
+//(b)Power radiated by a unit area of a black body
+P=(4*%pi^2*h*c^2*T^5*Delta_lembda)/(b^5*((%e^((2*%pi*h*c)/(b*k)))-1)); //The power radiated per unit area (watt/meter^2)
+
+printf("\n(a) The average energy of Planck`s oscillator:\n\t (i) Energy = %.3f kT\n\t (ii) Energy = %.2f kT\n\t (iii) Energy = %.2f kT\n\t (iv) Energy = %.5f kT\n\t k: Boltzmann constant = %.2e joule/kelvin T: Temperature\n(b) The power radiated per unit area = %.2f watt/meter^2",E1,E2,E3,E4,k,P);
diff --git a/623/CH2/EX2.1.10/U2_C1_10.sce b/623/CH2/EX2.1.10/U2_C1_10.sce
new file mode 100755
index 000000000..a0d02a2b5
--- /dev/null
+++ b/623/CH2/EX2.1.10/U2_C1_10.sce
@@ -0,0 +1,8 @@
+//variable initialization
+E=1 //Energy of photon (MeV)
+eta=0.25 //Relative change in photon's wavelength
+
+//Calculation of kinetic energy of electron
+T=(E*eta)/(1+eta); //Kinetic energy of recoil electron (MeV)
+
+printf("\nThe kinetic energy of recoil electron = %.1f MeV",T);
diff --git a/623/CH2/EX2.1.11/U2_C1_11.sce b/623/CH2/EX2.1.11/U2_C1_11.sce
new file mode 100755
index 000000000..a7e68cd71
--- /dev/null
+++ b/623/CH2/EX2.1.11/U2_C1_11.sce
@@ -0,0 +1,9 @@
+//Variable initialization
+E=0.25 //Energy of photon (MeV)
+Theta=(120*%pi)/180; //Scattering angle of photon (radian)
+a=0.51 //Value of m0*c^2 (Mev)
+
+//Calculation of energy of the photon
+E_das=E/(1+(E/a)*(1-cos(Theta))); //Energy of the scattered photon (MeV)
+
+printf("\nEnergy of the scattered photon = %.3f Mev",E_das);
diff --git a/623/CH2/EX2.1.12/U2_C1_12.sce b/623/CH2/EX2.1.12/U2_C1_12.sce
new file mode 100755
index 000000000..652437683
--- /dev/null
+++ b/623/CH2/EX2.1.12/U2_C1_12.sce
@@ -0,0 +1,9 @@
+//variable initialization
+p=1.02 //momentum of the photon (MeV/c)
+p_dash=0.255 //momentum of the photon after scattering (MeV/c)
+a=0.51 //Value of m0*c^2 (Mev)
+
+//Calculation of the angle of the photon after scattering
+Theta=2*asind(((0.5*a*(p-p_dash))/(p*p_dash))^(1/2)); //Angle of the photon after scattering (degree)
+
+printf("\nAngle of the photon after scattering = %.0f degree",Theta);
diff --git a/623/CH2/EX2.1.13/U2_C1_13.sce b/623/CH2/EX2.1.13/U2_C1_13.sce
new file mode 100755
index 000000000..3c30041ee
--- /dev/null
+++ b/623/CH2/EX2.1.13/U2_C1_13.sce
@@ -0,0 +1,9 @@
+//variable initialization
+Theta=120 //Scattering angle of photon (degree)
+T=0.45 //Kinetic energy of electron (MeV)
+a=0.51 //Value of m0*c^2 (Mev)
+
+//Calculation of the energy of the incident photon
+E=0.5*T*(1+(1+(2*a)/(T*(sind(Theta/2))^2))^(1/2)); //Energy of the incident photon (MeV)
+
+printf("\nEnergy of the incident photon = %.2f Mev",E);
diff --git a/623/CH2/EX2.1.14/U2_C1_14.sce b/623/CH2/EX2.1.14/U2_C1_14.sce
new file mode 100755
index 000000000..756b2d1ec
--- /dev/null
+++ b/623/CH2/EX2.1.14/U2_C1_14.sce
@@ -0,0 +1,12 @@
+//variable initialization
+lembda0=2536*10^-10; //wavelength of exciting line (meter)
+lembda=2612*10^-10; //wavelength of Raman line (meter)
+
+//Calculation of the Raman shift
+v0=1/lembda0; //wave number of exciting line (1/meter)
+v=1/lembda; //wave number of Raman line (1/meter)
+shift=v0-v; //the Raman shift (1/meter)
+
+printf("\nThe Raman shift = %.0f m-1",shift);
+
+//Note: Answer given in the book is an approximate answer
diff --git a/623/CH2/EX2.1.15/U2_C1_15.sce b/623/CH2/EX2.1.15/U2_C1_15.sce
new file mode 100755
index 000000000..50984c658
--- /dev/null
+++ b/623/CH2/EX2.1.15/U2_C1_15.sce
@@ -0,0 +1,14 @@
+//variable initialization
+lembda0=5000*10^-10; //Wavelength of radiation (meter)
+lembda=5050.5*10^-10; //Wavelength of Raman line (meter)
+
+//(a) Raman frequency
+v0=1/lembda0; //Wave number of radiation (1/meter)
+v=1/lembda; //Wave number of Raman line (1/meter)
+shift=v0-v; //Raman shift (1/meter)
+va=v0+shift; //Frequency of antistoke's line (1/meter)
+
+//(b) Position of the antistokes' line
+lembdaa=10^10/va; //Wavelength of antistoke's line (Å)
+
+printf("\n(a) Raman frequency = %.2e m-1\n(b) Wavelength of antistoke`s line = %.2f Å",va,lembdaa);
diff --git a/623/CH2/EX2.1.2/U2_C1_2.sce b/623/CH2/EX2.1.2/U2_C1_2.sce
new file mode 100755
index 000000000..20677a479
--- /dev/null
+++ b/623/CH2/EX2.1.2/U2_C1_2.sce
@@ -0,0 +1,16 @@
+//variable initialization
+v=2*10^-2; //side of the cube (meter)
+lembda=5000*10^-10; //wavelength (meter)
+delta_lembda=10*10^-10; //range of wavelength (meter)
+k=1.38*10^-23; //Boltzmann constant (joule/kelvin)
+T=1500 //Temperature of the cavity (kelvin)
+
+//(i)Number of modes:
+N=(8*%pi*v^3*delta_lembda)/lembda^4; //number of modes
+
+//(ii)Total radiant energy in the cavity:
+U=N*k*T; //energy density (joule)
+
+printf("\n(a) Number of modes = %.3e\n(b) Energy density = %.2e joule",N,U);
+
+//Note: In book the answers of both the parts are wrong by one order of magnitude
diff --git a/623/CH2/EX2.1.3/U2_C1_3.sce b/623/CH2/EX2.1.3/U2_C1_3.sce
new file mode 100755
index 000000000..d21576bb9
--- /dev/null
+++ b/623/CH2/EX2.1.3/U2_C1_3.sce
@@ -0,0 +1,20 @@
+//variable initialization
+m=0.1 //mass of a spring-mass system (kg)
+k=10 //spring constant of a spring-mass system (newton/meter)
+A=0.1 //Amplitude of system oscillation (meter)
+h=(6.625*10^-34)/(2*%pi); //Planck's constant (joule-second)
+delta_n=1 //change in quantum number
+
+//(a) Quantum number n associated with the energy of the oscillator
+f=(k/m)^(1/2); //frequency of oscillator (radian/second)
+E=0.5*f*A^2; //Energy of oscillator (joule)
+n=E/(h*f); //Quantum number of the oscillator
+
+//(b) Fractional change in energy
+change_E=delta_n/n; //fractional change in energy
+
+//(c) Conclusion: This example illustrates that the energy levels of macroscopic oscillators are so close together that even most delicate instruments cannot reveal the quantized nature of energy levels. All this is due to smallness of Planck’s constant h. In the limit h->0, the energy levels become continuous.
+
+printf("\n(a) Quantum number of the oscillator = %.1e\n(b) Fractional change in energy = %.1e\n(c) This example illustrates that the energy levels of macroscopic oscillators are so close together that even most delicate instruments cannot reveal the quantized nature of energy levels. All this is due to smallness of Planck’s constant h. In the limit h->0, the energy levels become continuous.",n,change_E);
+
+// The answer given in the book for quantum number is just the order of it as it is a very large number. But the answer generated by the code is the exact value of it.
diff --git a/623/CH2/EX2.1.4/U2_C1_4.sce b/623/CH2/EX2.1.4/U2_C1_4.sce
new file mode 100755
index 000000000..3cb355b88
--- /dev/null
+++ b/623/CH2/EX2.1.4/U2_C1_4.sce
@@ -0,0 +1,9 @@
+//variable initialization
+e=1.6*10^-19; //Charge of electron (coulombs)
+h=(6.625*10^-34)/(2*%pi); //Planck's constant (joule-second)
+c=3*10^8; //Speed of light (meter/second)
+
+//calculating ch by using ch = 2*pi*h*c
+ch=(2*%pi*h*c*10^9)/e; //Value of ch (eV nm)
+
+printf("\nch = %.0f eV nm",ch);
diff --git a/623/CH2/EX2.1.5/U2_C1_5.sce b/623/CH2/EX2.1.5/U2_C1_5.sce
new file mode 100755
index 000000000..27ded610a
--- /dev/null
+++ b/623/CH2/EX2.1.5/U2_C1_5.sce
@@ -0,0 +1,22 @@
+//variable initialization
+h=(6.625*10^-34)/(2*%pi); //Planck's constant (joule-second)
+c=3*10^8; //speed of light (meter/second)
+lembda=2000; //Wavelength of the light (Å)
+phi=4.2 //work function of aluminium surface (eV)
+ch=12400 //constant (eV Å)
+
+//(a) maximum kinetic energy of photoelectrons
+Tmax=(ch/lembda)-phi; //maximum kinetic energy of photoelectrons (eV)
+
+//(b) minimum kinetic energy of photoelectrons
+Tmin=0
+
+//(c) cut-off wavelength
+lembda_cut=ch/phi; // cut-off wavelength (Å)
+
+//(d) stopping potential
+v=2 //stopping potential (volt)
+
+printf("\n(a) Maximum kinetic energy of photoelectrons = %.0f eV\n(b) Minimum kinetic energy of photoelectrons = %.0f\n(c) Cut-off wavelength = %.0f Å\n(d) Stopping potential = %.0f volt",Tmax,Tmin,lembda_cut,v);
+
+//Note: In book answer of cut_off wavelength is wrong
diff --git a/623/CH2/EX2.1.6/U2_C1_6.sce b/623/CH2/EX2.1.6/U2_C1_6.sce
new file mode 100755
index 000000000..c7034715c
--- /dev/null
+++ b/623/CH2/EX2.1.6/U2_C1_6.sce
@@ -0,0 +1,15 @@
+//variable initialization
+lembda1=4000 //wavelength of light (Å)
+V1=2 //stopping potential (volt)
+lembda2=6000 //wavelength of light (Å)
+V2=1 //stopping potential (volt)
+e=1.6*10^-19; //Charge of electron (coulombs)
+c=3*10^8; //speed of light (meter/second)
+ch=12400 //constant (eV Å)
+//(i) Planck's constant
+h=(e*(V1-V2)*lembda1*10^-10*lembda2*10^-10)/(c*((lembda2*10^-10)-(lembda1*10^-10))); //Planck's constant (joule-second)
+
+//(ii) Work function
+phi=(ch/lembda1)-V1; //work function of the material (eV)
+
+printf("\n(i) Planck`s constant = h = %.1e joule-second\n(ii) Work function of the material = %.1f eV",h,phi);
diff --git a/623/CH2/EX2.1.7/U2_C1_7.sce b/623/CH2/EX2.1.7/U2_C1_7.sce
new file mode 100755
index 000000000..c6b50d2b9
--- /dev/null
+++ b/623/CH2/EX2.1.7/U2_C1_7.sce
@@ -0,0 +1,34 @@
+//variable initialization
+ch=12400 //constant (eV Å)
+phi_Tantalum=4.2 //work function of Tantalum (eV)
+phi_Tungsten=4.5 //work function of Tungsten (eV)
+phi_Aluminium=4.2 //work function of Aluminium (eV)
+phi_Barium=2.5 //work function of Barium (eV)
+phi_Lithium=2.3 //work function of Lithium (eV)
+
+//Calculation
+lembda_Tantalum=ch/phi_Tantalum; //Threshold wavelength of Tantalum (Å)
+lembda_Tungsten=ch/phi_Tungsten; //Threshold wavelength of Tungsten (Å)
+lembda_Aluminium=ch/phi_Aluminium; //Threshold wavelength of Aluminium (Å)
+lembda_Barium=ch/phi_Barium; //Threshold wavelength of Barium (Å)
+lembda_Lithium=ch/phi_Lithium; //Threshold wavelength of Lithium (Å)
+
+if(lembda_Tantalum<8000&lembda_Tantalum>4000)then //Checking whether Threshold wavelength of Tantalum lies in visible range or not
+ disp("Tantalum can be used for designing photocell")
+end
+
+if(lembda_Tungsten<8000&lembda_Tungsten>4000)then //Checking whether Threshold wavelength of Tungsten lies in visible range or not
+ disp("Tungsten can be used for designing photocell")
+end
+
+if(lembda_Aluminium<8000&lembda_Aluminium>4000)then //Checking whether Threshold wavelength of Aluminium lies in visible range or not
+ disp("Aluminium can be used for designing photocell")
+end
+
+if(lembda_Barium<8000&lembda_Barium>4000)then //Checking whether Threshold wavelength of Barium lies in visible range or not
+ disp("Barium can be used for designing photocell")
+end
+
+if(lembda_Lithium<8000&lembda_Lithium>4000)then //Checking whether Threshold wavelength of Lithium lies in visible range or not
+ disp("Lithium can be used for designing photocell")
+end
diff --git a/623/CH2/EX2.1.8/U2_C1_8.sce b/623/CH2/EX2.1.8/U2_C1_8.sce
new file mode 100755
index 000000000..64808311c
--- /dev/null
+++ b/623/CH2/EX2.1.8/U2_C1_8.sce
@@ -0,0 +1,19 @@
+//variable initialization
+lembda_c=0.024 //Compton wavelength of electron (Å)
+lembda=1 //Wavelength of X-rays (Å)
+Theta1=(60*%pi)/180; //angle (radian)
+Theta2=(90*%pi)/180; //angle (radian)
+Theta3=(180*%pi)/180; //angle (radian)
+ch=12400 //constant (eV Å)
+
+//(a) Compton shift
+shift1=lembda_c*(1-cos(Theta1)); //Compton shift (Å)
+shift2=lembda_c*(1-cos(Theta2)); //Compton shift (Å)
+shift3=lembda_c*(1-cos(Theta3)); //Compton shift (Å)
+
+//(b) Kinetic energy imparted to the recoil electron
+T1=(ch*shift1)/(lembda*(lembda+shift1)); //Kinetic energy imparted to the electron (eV)
+T2=(ch*shift2)/(lembda*(lembda+shift2)); //Kinetic energy imparted to the electron (eV)
+T3=(ch*shift3)/(lembda*(lembda+shift3)); //Kinetic energy imparted to the electron (eV)
+
+printf("\n(a) Compton shift:\n\t (i) %.3f Å\n\t (ii) %.3f Å\n\t (iii) %.3f Å\n(b) Kinetic energy imparted to the recoil electron:\n\t (i) %.0f eV\n\t (ii) %.0f eV\n\t (iii) %.0f eV",shift1,shift2,shift3,T1,T2,T3);
diff --git a/623/CH2/EX2.1.9/U2_C1_9.sce b/623/CH2/EX2.1.9/U2_C1_9.sce
new file mode 100755
index 000000000..09c1a1436
--- /dev/null
+++ b/623/CH2/EX2.1.9/U2_C1_9.sce
@@ -0,0 +1,8 @@
+//variable initialization
+lembda_c=0.024 //Compton wavelength of electron (Å)
+Theta=(45*%pi)/180; //Scattering angle (radian)
+
+//Calculation of wavelength of incident photon
+lembda=lembda_c*(1-cos(Theta)); //Wavelength of incident photon (Å)
+
+printf("\n(a) Wavelength of incident photon = %.4f Å\n(b) Photon lies in the gamma ray spectrum",lembda);