summaryrefslogtreecommitdiff
path: root/3756/CH2
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH2')
-rw-r--r--3756/CH2/EX2.1/Ex2_1.sce15
-rw-r--r--3756/CH2/EX2.10/Ex2_10.sce14
-rw-r--r--3756/CH2/EX2.12/Ex2_12.sce15
-rw-r--r--3756/CH2/EX2.13/Ex2_13.sce16
-rw-r--r--3756/CH2/EX2.14/Ex2_14.sce14
-rw-r--r--3756/CH2/EX2.15/Ex2_15.sce16
-rw-r--r--3756/CH2/EX2.16/Ex2_16.sce16
-rw-r--r--3756/CH2/EX2.17/Ex2_17.sce15
-rw-r--r--3756/CH2/EX2.18/Ex2_18.sce16
-rw-r--r--3756/CH2/EX2.2/Ex2_2.sce15
-rw-r--r--3756/CH2/EX2.3/Ex2_3.sce16
-rw-r--r--3756/CH2/EX2.4/Ex2_4.sce16
-rw-r--r--3756/CH2/EX2.6/Ex2_6.sce15
-rw-r--r--3756/CH2/EX2.7/Ex2_7.sce18
-rw-r--r--3756/CH2/EX2.8/Ex2_8.sce17
-rw-r--r--3756/CH2/EX2.9/Ex2_9.sce18
16 files changed, 252 insertions, 0 deletions
diff --git a/3756/CH2/EX2.1/Ex2_1.sce b/3756/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..c27031e27
--- /dev/null
+++ b/3756/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,15 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5893*10**-10 //Wavelength
+l=0.2945*10**-3 //Distance by which mirror is displaced
+
+
+//Calculations
+dellambdaa=(lambdaa**2)*10**10/(2*l)
+
+//Result
+printf("\n The Difference between two wavelengths is %0.1f Angstrom",dellambdaa)
diff --git a/3756/CH2/EX2.10/Ex2_10.sce b/3756/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..963f841ec
--- /dev/null
+++ b/3756/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,14 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-8 //Wavelength
+invde=(2620/2.54) //Diffraction element inverse
+
+//Calculations
+n=(1/(lambdaa*invde))
+//Result
+printf("\n The orders visible would be %i ",n)
+
diff --git a/3756/CH2/EX2.12/Ex2_12.sce b/3756/CH2/EX2.12/Ex2_12.sce
new file mode 100644
index 000000000..90ef631a9
--- /dev/null
+++ b/3756/CH2/EX2.12/Ex2_12.sce
@@ -0,0 +1,15 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa1=4000*10**-8 //Wavelength1
+lambdaa2=7000*10**-8 //Wavelength2
+invde=4000 //Diffraction element inverse
+
+//Calculations
+n1=(1/(lambdaa1*invde))
+n2=(1/(lambdaa2*invde))
+//Result
+printf("\n The orders visible will be from %i to %i order Spectrum",n2,n1)
diff --git a/3756/CH2/EX2.13/Ex2_13.sce b/3756/CH2/EX2.13/Ex2_13.sce
new file mode 100644
index 000000000..1bb8b3cc4
--- /dev/null
+++ b/3756/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-8 //Wavelength
+theta=30 //Angular Width
+
+
+//Calculations
+thetarad=((%pi/180)*(theta))
+invde=((2*lambdaa)/(sin(thetarad)))**-1
+
+//Result
+printf("\n The number of line cm in grating is %0.3f ",invde)
diff --git a/3756/CH2/EX2.14/Ex2_14.sce b/3756/CH2/EX2.14/Ex2_14.sce
new file mode 100644
index 000000000..a656e70d9
--- /dev/null
+++ b/3756/CH2/EX2.14/Ex2_14.sce
@@ -0,0 +1,14 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=6000*10**-8 //Wavelength
+sinetheta=(3/4) //Angular Width
+n=4
+
+//Calculations
+gratingele=((n*lambdaa)/sinetheta)
+//Result
+printf("\n The grating element is %0.5f cm",gratingele)
diff --git a/3756/CH2/EX2.15/Ex2_15.sce b/3756/CH2/EX2.15/Ex2_15.sce
new file mode 100644
index 000000000..e915432a4
--- /dev/null
+++ b/3756/CH2/EX2.15/Ex2_15.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=6000*10**-8 //Wavelength
+n=3
+invde=200 //inverse of diffraction element
+
+//Calculations
+sinetheta=(n*lambdaa*invde)
+thetarad=asin(sinetheta)
+theta=(180/%pi)*(thetarad)
+//Result
+printf("\n The Angle of Diffraction is %0.5f degrees",theta)
diff --git a/3756/CH2/EX2.16/Ex2_16.sce b/3756/CH2/EX2.16/Ex2_16.sce
new file mode 100644
index 000000000..8796e3db4
--- /dev/null
+++ b/3756/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-10 //Wavelength
+theta=30 //Angular Width
+dtheta=0.01
+
+//Calculations
+thetarad=((%pi/180)*(theta))
+dlambda=((lambdaa*cos(thetarad))/(sin(thetarad)))*10**8
+
+//Result
+printf("\n The difference between the two wavelengths is %2.1f Angstrom",dlambda)
diff --git a/3756/CH2/EX2.17/Ex2_17.sce b/3756/CH2/EX2.17/Ex2_17.sce
new file mode 100644
index 000000000..b40500fa9
--- /dev/null
+++ b/3756/CH2/EX2.17/Ex2_17.sce
@@ -0,0 +1,15 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-8 //Wavelength
+N=40000 //Grating lines
+de=12.5*10**-5 //Diffraction element
+
+//Calculations
+RPmax=((de*N)/lambdaa)
+
+//Result
+printf("\n The Maximum resolving power is %i or 10**5",RPmax)
diff --git a/3756/CH2/EX2.18/Ex2_18.sce b/3756/CH2/EX2.18/Ex2_18.sce
new file mode 100644
index 000000000..ec33f00ca
--- /dev/null
+++ b/3756/CH2/EX2.18/Ex2_18.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5890 //Wavelength
+dlambdaa=6 //Difference in wavelengths
+n=2 //order
+
+//Calculations
+N=((lambdaa)/(n*dlambdaa))
+
+//Result
+printf("\n The Minimum number of lines in the grating are %3.0f ",N)
+
diff --git a/3756/CH2/EX2.2/Ex2_2.sce b/3756/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..e487b9020
--- /dev/null
+++ b/3756/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,15 @@
+clc
+//
+//
+//
+
+//Variable declaration
+theta=6*10**-3 //Angular Width
+D=1 //Distance of Screen
+
+//Calculations
+Totalangularwidth=2*theta
+tlw=Totalangularwidth*D*10**2
+
+//Result
+printf("\n The Total Linear Width of central maxima is %0.3f cm",tlw)
diff --git a/3756/CH2/EX2.3/Ex2_3.sce b/3756/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..9cb7255be
--- /dev/null
+++ b/3756/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+e=0.14 //width of the slit
+y=1.6 //Distance of center of dark band from middle of central bright band
+n=2 //no. of dark band
+D=2 //Distance from the slit
+
+//Calculations
+lambdaa=((e*y)/(D*n))*10**5
+
+//Result
+printf("\n The Wavelength is %i Angstrom",lambdaa)
diff --git a/3756/CH2/EX2.4/Ex2_4.sce b/3756/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..d8d57c616
--- /dev/null
+++ b/3756/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-8 //Wavelength
+theta=30 //Angular Width
+
+//Calculations
+thetarad=(%pi/180)*(theta)
+sinetheta=sin(thetarad)
+e=(lambdaa)/(sinetheta)
+
+//Result
+printf("\n The Width of the slit is %0.4f cm",e)
diff --git a/3756/CH2/EX2.6/Ex2_6.sce b/3756/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..e2a556d48
--- /dev/null
+++ b/3756/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,15 @@
+clc
+//
+//
+//
+
+//Variable declaration
+y=5*10**-3 //First Minima
+D=2 //Distance of screen
+e=0.2*10**-3 //Slit width
+
+//Calculations
+lambdaa=((e*y)/D)*10**10
+
+//Result
+printf("\n The Wavelength is %d Angstrom",lambdaa)
diff --git a/3756/CH2/EX2.7/Ex2_7.sce b/3756/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..c3f6d29a7
--- /dev/null
+++ b/3756/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,18 @@
+clc
+//
+//
+//
+
+//Variable declaration
+y=0.005 //First Minima
+D=1 //Distance of screen
+e=0.5*10**-2 //Slit width
+
+//Calculations
+yd=(y/D)
+sinyd=(sin(yd))
+lambdaa1=((e*sinyd)/4)*10**9
+lambdaa2=((e*sinyd)/5)*10**9
+
+//Result
+printf("\n The Wavelengths are %4.0f Angstrom & %4.0f Angstrom",lambdaa1,lambdaa2)
diff --git a/3756/CH2/EX2.8/Ex2_8.sce b/3756/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..5dbb133ca
--- /dev/null
+++ b/3756/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,17 @@
+clc
+//
+//
+//
+
+//Variable declaration
+n=2 //order of spectral line
+theta=30 //Angular Width
+invde=5000 //Inverse of diffraction element
+
+//Calculations
+thetarad=(%pi/180)*(theta)
+sinetheta=sin(thetarad)
+lambdaa=((sinetheta)/(n*invde))*10**8
+
+//Result
+printf("\n The Wavelength is %i Angstrom",lambdaa)
diff --git a/3756/CH2/EX2.9/Ex2_9.sce b/3756/CH2/EX2.9/Ex2_9.sce
new file mode 100644
index 000000000..337b3fd00
--- /dev/null
+++ b/3756/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,18 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-8 //Wavelength
+invde=6000 //Diffraction element inverse
+
+//Calculations
+sinetheta1=lambdaa*invde
+sinetheta3=lambdaa*invde*3
+theta1=(180/%pi)*(asin(sinetheta1))
+theta3=(180/%pi)*(asin(sinetheta3))
+deltheta=theta3-theta1
+
+//Result
+printf("\n The Angular Difference is %2.1f Degrees",deltheta)