summaryrefslogtreecommitdiff
path: root/3869/CH2
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH2')
-rw-r--r--3869/CH2/EX2.1/Ex2_1.sce17
-rw-r--r--3869/CH2/EX2.10/Ex2_10.sce15
-rw-r--r--3869/CH2/EX2.11/Ex2_11.sce15
-rw-r--r--3869/CH2/EX2.12/Ex2_12.sce14
-rw-r--r--3869/CH2/EX2.13/Ex2_13.sce20
-rw-r--r--3869/CH2/EX2.14/Ex2_14.sce20
-rw-r--r--3869/CH2/EX2.15/Ex2_15.sce14
-rw-r--r--3869/CH2/EX2.16/Ex2_16.sce20
-rw-r--r--3869/CH2/EX2.17/Ex2_17.sce15
-rw-r--r--3869/CH2/EX2.18/Ex2_18.sce15
-rw-r--r--3869/CH2/EX2.19/Ex2_19.sce16
-rw-r--r--3869/CH2/EX2.2/Ex2_2.sce17
-rw-r--r--3869/CH2/EX2.20/Ex2_20.sce15
-rw-r--r--3869/CH2/EX2.21/Ex2_21.sce16
-rw-r--r--3869/CH2/EX2.22/Ex2_22.sce15
-rw-r--r--3869/CH2/EX2.23/Ex2_23.sce15
-rw-r--r--3869/CH2/EX2.24/Ex2_24.sce15
-rw-r--r--3869/CH2/EX2.3/Ex2_3.sce17
-rw-r--r--3869/CH2/EX2.4/Ex2_4.sce24
-rw-r--r--3869/CH2/EX2.5/Ex2_5.sce19
-rw-r--r--3869/CH2/EX2.6/Ex2_6.sce18
-rw-r--r--3869/CH2/EX2.7/Ex2_7.sce15
-rw-r--r--3869/CH2/EX2.8/Ex2_8.sce21
23 files changed, 388 insertions, 0 deletions
diff --git a/3869/CH2/EX2.1/Ex2_1.sce b/3869/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..422ca1ea8
--- /dev/null
+++ b/3869/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=5*10**-5 //wavelength(cm)
+k=2 //order
+theta=30*%pi/180 //angle(radian)
+
+//Calculation
+e=k*lamda/sin(theta) //number of lines(cm)
+n=1/e //number of lines per centimeter
+
+//Result
+printf("\n number of lines per centimeter is %0.3f ",n)
+printf("\n answer given in the book is wrong")
diff --git a/3869/CH2/EX2.10/Ex2_10.sce b/3869/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..9865eebe3
--- /dev/null
+++ b/3869/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+d=2 //diffraction observed(m)
+lamda=500*10**-9 //wavelength(m)
+a=1.5*10**-3 //slit width(m)
+
+//Calculation
+w=2*d*lamda/a //width of central maxima(m)
+
+//Result
+printf("\n width of central maxima is %0.2f mm",w*10**3)
diff --git a/3869/CH2/EX2.11/Ex2_11.sce b/3869/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..220138a82
--- /dev/null
+++ b/3869/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+d=2 //diffraction observed(m)
+lamda=500*10**-9 //wavelength(m)
+x=5*10**-3 //width of central maxima(m)
+
+//Calculation
+a=d*lamda/x //slit width(m)
+
+//Result
+printf("\n slit width is %0.3f mm",a*10**3)
diff --git a/3869/CH2/EX2.12/Ex2_12.sce b/3869/CH2/EX2.12/Ex2_12.sce
new file mode 100644
index 000000000..5eae2205f
--- /dev/null
+++ b/3869/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,14 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=6000*10**-10 //wavelength(m)
+a=12*10**-7 //slit width(m)
+
+//Calculation
+theta=asin(lamda/a)*180/%pi //half angular width(degrees)
+
+//Result
+printf("\n half angular width is %0.0f degrees",theta)
diff --git a/3869/CH2/EX2.13/Ex2_13.sce b/3869/CH2/EX2.13/Ex2_13.sce
new file mode 100644
index 000000000..e59439bbd
--- /dev/null
+++ b/3869/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,20 @@
+clear
+//
+//
+//
+
+//Variable declaration
+b=0.8 //distance(mm)
+a=0.16 //slit width(mm)
+p1=1
+p2=2
+p3=3
+
+//Calculation
+nbyp=(a+b)/a //ratio of missing orders
+n1=int(nbyp*p1)
+n2=int(nbyp*p2)
+n3=int(nbyp*p3) //missing orders
+
+//Result
+printf("\n the orders %0.3f %0.3f %0.3f etc will be missing",n1,n2,n3)
diff --git a/3869/CH2/EX2.14/Ex2_14.sce b/3869/CH2/EX2.14/Ex2_14.sce
new file mode 100644
index 000000000..22c221a9b
--- /dev/null
+++ b/3869/CH2/EX2.14/Ex2_14.sce
@@ -0,0 +1,20 @@
+clear
+//
+//
+//
+
+//Variable declaration
+N=6000*10**2 //number of lines/m
+m=3 //order
+lamda1=500*10**-9 //wavelength(m)
+lamda2=510*10**-9 //wavelength(m)
+
+//Calculation
+sintheta1=m*N*lamda1
+theta1=asin(sintheta1)*180/%pi //angle(degrees)
+sintheta2=m*N*lamda2
+theta2=asin(sintheta2)*180/%pi //angle(degrees)
+theta=theta2-theta1 //angular separation(degrees)
+
+//Result
+printf("\n angular separation is %0.2f degrees",theta)
diff --git a/3869/CH2/EX2.15/Ex2_15.sce b/3869/CH2/EX2.15/Ex2_15.sce
new file mode 100644
index 000000000..910d827bb
--- /dev/null
+++ b/3869/CH2/EX2.15/Ex2_15.sce
@@ -0,0 +1,14 @@
+clear
+//
+//
+//
+
+//Variable declaration
+N=15000/2.54*10**2 //number of lines/cm
+lamda=600*10**-9 //wavelength(m)
+
+//Calculation
+m=1/(N*lamda) //highest order that can be seen
+
+//Result
+printf("\n highest order that can be seen is %0.3f ",m)
diff --git a/3869/CH2/EX2.16/Ex2_16.sce b/3869/CH2/EX2.16/Ex2_16.sce
new file mode 100644
index 000000000..8e08cf340
--- /dev/null
+++ b/3869/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,20 @@
+clear
+//
+//
+//
+
+//Variable declaration
+N=10000/2*10**2 //number of lines/m
+m=1 //order
+lamda1=5890*10**-10 //wavelength(m)
+lamda2=5896*10**-10 //wavelength(m)
+
+//Calculation
+sintheta1=m*N*lamda1
+theta1=asin(sintheta1)*180/%pi //angle(degrees)
+sintheta2=m*N*lamda2
+theta2=asin(sintheta2)*180/%pi //angle(degrees)
+theta=theta2-theta1 //angular separation(degrees)
+
+//Result
+printf("\n angular separation is %0.3f degrees",theta)
diff --git a/3869/CH2/EX2.17/Ex2_17.sce b/3869/CH2/EX2.17/Ex2_17.sce
new file mode 100644
index 000000000..85aca5feb
--- /dev/null
+++ b/3869/CH2/EX2.17/Ex2_17.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+theta=15*%pi/180 //angle(radian)
+lamda=6500*10**-8 //wavelength(cm)
+n=1 //order
+
+//Calculation
+a=n*lamda/sin(theta) //slit width(cm)
+
+//Result
+printf("\n slit width is %0.2f *10**-4 cm",a*10**4)
diff --git a/3869/CH2/EX2.18/Ex2_18.sce b/3869/CH2/EX2.18/Ex2_18.sce
new file mode 100644
index 000000000..b47107b19
--- /dev/null
+++ b/3869/CH2/EX2.18/Ex2_18.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+theta=15*%pi/180 //angle(radian)
+a=2.5*10**-6 //slit width(m)
+
+//Calculation
+lamda=a*%pi*sin(theta)*10**10/(1.43*%pi) //wavelength of light(angstrom)
+
+//Result
+printf("\n wavelength of light is %0.0f angstrom",lamda)
+printf("\n answer given in the book is wrong")
diff --git a/3869/CH2/EX2.19/Ex2_19.sce b/3869/CH2/EX2.19/Ex2_19.sce
new file mode 100644
index 000000000..f75a4e917
--- /dev/null
+++ b/3869/CH2/EX2.19/Ex2_19.sce
@@ -0,0 +1,16 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n=2 //order
+N=4250 //grating lines(lines/cm)
+theta=30*%pi/180 //angle(radian)
+
+//Calculation
+e=1/N
+lamda=e*sin(theta)*10**8/n //wavelength of spectral line(angstrom)
+
+//Result
+printf("\n wavelength of spectral line is %0.0f angstrom",lamda)
diff --git a/3869/CH2/EX2.2/Ex2_2.sce b/3869/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..b48ef4a82
--- /dev/null
+++ b/3869/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=5000*10**-8 //wavelength(cm)
+e=1/6000 //number of lines(cm)
+
+//Calculation
+theta1=asin(lamda/e)*180/%pi //angle for 1st order(degrees)
+theta2=asin(3*lamda/e)*180/%pi //angle for 3rd order(degrees)
+theta=(theta2)-(theta1) //difference in angles of deviation(degrees)
+
+
+//Result
+printf("\n difference in angles of deviation is %0.3f degrees",theta)
diff --git a/3869/CH2/EX2.20/Ex2_20.sce b/3869/CH2/EX2.20/Ex2_20.sce
new file mode 100644
index 000000000..cf004ba32
--- /dev/null
+++ b/3869/CH2/EX2.20/Ex2_20.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n=1 //order
+a=1*10**-6 //slit width(m)
+lamda=600*10**-9 //wavelength of spectral line(m)
+
+//Calculation
+theta=asin(n*lamda/a)*180/%pi //angular separation(degrees)
+
+//Result
+printf("\n angular separation is %0.4f degrees",theta)
diff --git a/3869/CH2/EX2.21/Ex2_21.sce b/3869/CH2/EX2.21/Ex2_21.sce
new file mode 100644
index 000000000..0f5770056
--- /dev/null
+++ b/3869/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,16 @@
+clear
+//
+//
+//
+
+//Variable declaration
+N=10520 //grating lines(lines/cm)
+theta=90*%pi/180 //angle(radian)
+lamda=5*10**-5 //wavelength of spectral line(cm)
+
+//Calculation
+e=1/N
+n=e*sin(theta)/lamda //order
+
+//Result
+printf("\n int((n)) orders can be seen")
diff --git a/3869/CH2/EX2.22/Ex2_22.sce b/3869/CH2/EX2.22/Ex2_22.sce
new file mode 100644
index 000000000..b8f4fbf77
--- /dev/null
+++ b/3869/CH2/EX2.22/Ex2_22.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+x=4.2*10**-3 //distance(m)
+D=60*10**-2 //screen slit distance(m)
+lamda=6000*10**-10 //wavelength(m)
+
+//Calculation
+d=D*lamda/x //slit width(m)
+
+//Result
+printf("\n slit width is %0.3f *10**-4 m",d*10**4)
diff --git a/3869/CH2/EX2.23/Ex2_23.sce b/3869/CH2/EX2.23/Ex2_23.sce
new file mode 100644
index 000000000..2c655e963
--- /dev/null
+++ b/3869/CH2/EX2.23/Ex2_23.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+N=15000/2.54 //number of lines(per cm)
+lamda=6000*10**-8 //wavelength(cm)
+
+//Calculation
+d=1/N //slit width(m)
+m=d/lamda //possible order of spectra
+
+//Result
+printf("\n possible order of spectra is %0.3f ",m)
diff --git a/3869/CH2/EX2.24/Ex2_24.sce b/3869/CH2/EX2.24/Ex2_24.sce
new file mode 100644
index 000000000..cc66f1557
--- /dev/null
+++ b/3869/CH2/EX2.24/Ex2_24.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+D=150 //slit screen distance(cm)
+d=0.03 //separation(cm)
+beta1=0.3 //fringe separation(cm)
+
+//Calculation
+lamda=d*beta1*10**8/D //wavelength of light(angstrom)
+
+//Result
+printf("\n wavelength of light is %0.0f angstrom",lamda)
diff --git a/3869/CH2/EX2.3/Ex2_3.sce b/3869/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..a531810ae
--- /dev/null
+++ b/3869/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=5890*10**-5 //wavelength(cm)
+dlamda=6*10**-5 //difference in wavelength(cm)
+k=2 //order
+w=2.5 //width(cm)
+
+//Calculation
+N=lamda/(k*dlamda*w) //minimum number of lines per cm
+
+//Result
+printf("\n minimum number of lines per cm is %0.2f ",N)
+printf("\n answer given in the book varies due to rounding off errors")
diff --git a/3869/CH2/EX2.4/Ex2_4.sce b/3869/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..b344a41ef
--- /dev/null
+++ b/3869/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,24 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=5890*10**-8 //wavelength(cm)
+dlamda=6*10**-8 //difference in wavelength(cm)
+w=2 //width(cm)
+n=425 //number of lines on grating
+k=2 //order
+
+//Calculation
+N=w*n //number of lines on grating
+N1=int((lamda/dlamda)) //number of lines required for resolution
+
+N2=int((lamda/(k*dlamda))) //number of lines required for resolution
+
+
+//Result
+printf("\n number of lines required for resolution is %0.3f and number of lines on grating is %0.3f ",N1,N)
+printf("\n hence lines will not be resolved")
+printf("\n number of lines required for resolution is %0.3f and number of lines on grating is %0.3f ",N2,N)
+printf("\n hence lines will appear resolved")
diff --git a/3869/CH2/EX2.5/Ex2_5.sce b/3869/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..f0f58e016
--- /dev/null
+++ b/3869/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,19 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda1=5016*10**-8 //wavelength(cm)
+lamda2=5048*10**-8 //difference in wavelength(cm)
+k=2 //order
+n=15000 //number of lines/inch
+
+//Calculation
+e=2.54/n
+theta1=asin(2*lamda1/e)*180/%pi //angle for 1st wavelength(degrees)
+theta2=asin(2*lamda2/e)*180/%pi //angle for 2nd wavelength(degrees)
+theta=int(60*(theta2-theta1)) //angle of separation(minutes)
+
+//Result
+printf("\n angle of separation is %0.3f minutes",theta)
diff --git a/3869/CH2/EX2.6/Ex2_6.sce b/3869/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..11a6cbc6b
--- /dev/null
+++ b/3869/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n=4000 //number of lines/cm
+lamda=5000*10**-8 //wavelength(cm)
+k=3 //order
+
+//Calculation
+e=1/n
+sintheta=k*lamda/e
+costheta=sqrt(1-sintheta**2)
+dthetabydlamda=k*n/costheta //dispersive power of grating
+
+//Result
+printf("\n dispersive power of grating is %0.3f ",dthetabydlamda)
diff --git a/3869/CH2/EX2.7/Ex2_7.sce b/3869/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..24c09c115
--- /dev/null
+++ b/3869/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n=5000 //number of lines/cm
+lamda=6000*10**-8 //wavelength(cm)
+
+//Calculation
+e=1/n
+k=e/lamda //highest order of spectrum
+
+//Result
+printf("\n highest order of spectrum is %0.3f ",k)
diff --git a/3869/CH2/EX2.8/Ex2_8.sce b/3869/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..a2fe3c220
--- /dev/null
+++ b/3869/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,21 @@
+clear
+//
+//
+//
+
+//Variable declaration
+theta=10*%pi/180 //angle(radian)
+dtheta=3*%pi/(60*60*180) //difference of angle(radian)
+dlamda=5*10**-9 //wavelength(cm)
+k=2
+
+//Calculation
+lamda=sin(theta)*dlamda/(cos(theta)*dtheta)
+lamdanew=lamda+dlamda //wavelength of lines(cm)
+N=lamda/(dlamda*k)
+Ne=N*k*lamda/sin(theta) //minimum grating width required(cm)
+
+//Result
+printf("\n wavelength of lines is %0.1f *10**-8 cm",lamda*10**8)
+printf("\n answer given in the book varies due to rounding off errors")
+printf("\n minimum grating width required is %0.1f cm",Ne)