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 /2243/CH4 | |
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 '2243/CH4')
-rwxr-xr-x | 2243/CH4/EX4.10/Ex4_10.sce | 12 | ||||
-rwxr-xr-x | 2243/CH4/EX4.10/Res4_10.txt | 1 | ||||
-rwxr-xr-x | 2243/CH4/EX4.11/Ex4_11.sce | 14 | ||||
-rwxr-xr-x | 2243/CH4/EX4.11/Res4_11.txt | 1 | ||||
-rwxr-xr-x | 2243/CH4/EX4.4/Ex4_4.sce | 21 | ||||
-rwxr-xr-x | 2243/CH4/EX4.4/Res4_4.txt | 32 | ||||
-rwxr-xr-x | 2243/CH4/EX4.6/Ex4_6.sce | 24 | ||||
-rwxr-xr-x | 2243/CH4/EX4.6/Res4_6.txt | 11 | ||||
-rwxr-xr-x | 2243/CH4/EX4.8/Ex4_8.sce | 42 | ||||
-rwxr-xr-x | 2243/CH4/EX4.8/Res4_8.txt | 4 | ||||
-rwxr-xr-x | 2243/CH4/EX4.9/Ex4_9.sce | 21 | ||||
-rwxr-xr-x | 2243/CH4/EX4.9/Res4_9.txt | 13 |
12 files changed, 196 insertions, 0 deletions
diff --git a/2243/CH4/EX4.10/Ex4_10.sce b/2243/CH4/EX4.10/Ex4_10.sce new file mode 100755 index 000000000..5cdf41a53 --- /dev/null +++ b/2243/CH4/EX4.10/Ex4_10.sce @@ -0,0 +1,12 @@ +clc();
+clear;
+//Given:
+N = 15000;//Number of lines per inch
+a_plus_b = (2.54/N)*10^8 ;//Grating period in A
+lambda = 1 ; //Wavelength in A
+//Grating equation :(a+b)*sin(theta_n) = n*lambda
+//First order maximum
+theta1 = asind(lambda/a_plus_b); // angle in degrees
+printf("The first order maximum will be obtained at : %.4f degrees .\n\n",theta1);
+
+
diff --git a/2243/CH4/EX4.10/Res4_10.txt b/2243/CH4/EX4.10/Res4_10.txt new file mode 100755 index 000000000..2a6b63c90 --- /dev/null +++ b/2243/CH4/EX4.10/Res4_10.txt @@ -0,0 +1 @@ + The first order maximum will be obtained at : 0.0034 degrees .
\ No newline at end of file diff --git a/2243/CH4/EX4.11/Ex4_11.sce b/2243/CH4/EX4.11/Ex4_11.sce new file mode 100755 index 000000000..7c296e980 --- /dev/null +++ b/2243/CH4/EX4.11/Ex4_11.sce @@ -0,0 +1,14 @@ +clc();
+clear;
+//Given:
+lambda = 6000; //Wwavelength in A
+mu = 1.33; //Refractive index for cornea
+D = 2; //Diameter of pupil in mm
+//Yellow light wavelength in eye:
+lambda1 = lambda/mu ; //Wavelength in A
+//The angular resolution
+//1 A = 1.0*10^-7 mm
+theta_c = (1.22*lambda1*10^-7)/D; // angle in rad
+//Maximum value for L
+L = 1/tan(theta_c); // in mm
+printf("Maximum value for L should be : %.1f mm",L);
diff --git a/2243/CH4/EX4.11/Res4_11.txt b/2243/CH4/EX4.11/Res4_11.txt new file mode 100755 index 000000000..04ff10bb2 --- /dev/null +++ b/2243/CH4/EX4.11/Res4_11.txt @@ -0,0 +1 @@ + Maximum value for L should be : 3633.9 mm
\ No newline at end of file diff --git a/2243/CH4/EX4.4/Ex4_4.sce b/2243/CH4/EX4.4/Ex4_4.sce new file mode 100755 index 000000000..8a33a0235 --- /dev/null +++ b/2243/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,21 @@ +clc();
+clear;
+//Given :
+d = 8.8*10^-2 ; // slit width in mm
+b = 0.7;// seperation between slits in mm
+lambda = 6328 ; //Wavelength in A
+//First diffraction minima is possible, when d*sin(theta) = lambda
+// 1 A = 1.0*10^-7 mm
+theta = asind((lambda*10^-7)/d); // angle in degrees
+printf("theta = %.3f degrees .\n\n",theta);
+//interference minima is possible , when sin(theta) = ((p + 1/2)*lambda)/b
+for p = 0 : 10
+ //1 A = 1.0*10^-7 mm
+ theta1 = asind((p + 1/2)*(lambda*10^-7/b)); // angle in degrees
+ printf("When p = %d \n",p);
+ printf("theta = %.3f degrees . \n\n",theta1);
+ if(theta1 > theta)
+ printf(" When p >= %d , theta > %.3f degrees .\n\nBetween the first two diffraction minima , %d interference minima are possible.",p,theta,2*p);
+ break;
+ end
+end
diff --git a/2243/CH4/EX4.4/Res4_4.txt b/2243/CH4/EX4.4/Res4_4.txt new file mode 100755 index 000000000..aef20b751 --- /dev/null +++ b/2243/CH4/EX4.4/Res4_4.txt @@ -0,0 +1,32 @@ + theta = 0.412 degrees .
+
+When p = 0
+theta = 0.026 degrees .
+
+When p = 1
+theta = 0.078 degrees .
+
+When p = 2
+theta = 0.129 degrees .
+
+When p = 3
+theta = 0.181 degrees .
+
+When p = 4
+theta = 0.233 degrees .
+
+When p = 5
+theta = 0.285 degrees .
+
+When p = 6
+theta = 0.337 degrees .
+
+When p = 7
+theta = 0.388 degrees .
+
+When p = 8
+theta = 0.440 degrees .
+
+ When p >= 8 , theta > 0.412 degrees .
+
+Between the first two diffraction minima , 16 interference minima are possible.
\ No newline at end of file diff --git a/2243/CH4/EX4.6/Ex4_6.sce b/2243/CH4/EX4.6/Ex4_6.sce new file mode 100755 index 000000000..19a053522 --- /dev/null +++ b/2243/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,24 @@ +clc();
+clear;
+//Given :
+// a+b = (2.54/N)cm
+N = 15000;//grating has 15000 lines
+a_plus_b = 2.54/N ; // grating element in cm
+//Grating equation, (a+b)*sin(theta_n) = n*lambda, we get : theta_n = asind((n*lamba)/(a+b))
+printf("For line D1 and Wavelength 5890 A:\n\n");
+printf(" Angles at which first order and second order maxima will be observed are :\n");
+lambda1 = 5890; //Wavelength in A
+for n = 1:2 // First and second order maxima
+// 1 A = 1.0*10^-7 mm
+theta1_n = asind((n*lambda1*10^-8)/a_plus_b);// angle in degrees
+printf(" Order :%d ,%.3f degrees \n",n,theta1_n);
+end
+printf("For line D2 and Wavelength 5895.9 A :\n\n");
+printf(" Angles at which first order and second order maxima will be observed are :\n");
+lambda2 = 5895.9 ; //Wavelength in A
+for n1 = 1:2 //First and second order maxima
+// 1 A = 1.0*10^-7 mm
+ theta2_n = asind((n1*lambda2*10^-8)/a_plus_b);// angle in degrees
+ printf("Order : %d, %.3f degrees \n",n1,theta2_n);
+end
+printf(" When n = 3, sin(theta)= ((n*lambda*10^-8)/a_plus_b)>1 , which falls outside the sine range, hence third order maximum is not visible");
diff --git a/2243/CH4/EX4.6/Res4_6.txt b/2243/CH4/EX4.6/Res4_6.txt new file mode 100755 index 000000000..c57594c14 --- /dev/null +++ b/2243/CH4/EX4.6/Res4_6.txt @@ -0,0 +1,11 @@ +For line D1 and Wavelength 5890 A:
+
+ Angles at which first order and second order maxima will be observed are :
+ Order :1 ,20.355 degrees
+ Order :2 ,44.081 degrees
+For line D2 and Wavelength 5895.9 A :
+
+ Angles at which first order and second order maxima will be observed are :
+Order : 1, 20.376 degrees
+Order : 2, 44.136 degrees
+ When n = 3, sin(theta)= ((n*lambda*10^-8)/a_plus_b)>1 , which falls outside the sine range, hence third order maximum is not visible
\ No newline at end of file diff --git a/2243/CH4/EX4.8/Ex4_8.sce b/2243/CH4/EX4.8/Ex4_8.sce new file mode 100755 index 000000000..bd3175f5e --- /dev/null +++ b/2243/CH4/EX4.8/Ex4_8.sce @@ -0,0 +1,42 @@ +clc();
+clear;
+// Given :
+//(a) 15000 lines per inch
+N1 = 15000; //15000 lines per inch
+a1_plus_b1 = (2.54/N1)*10^8 ; //grating element in A
+lambda1 = 5890; //Wavelength in A
+lambda2 = 5895.9 ; // Wavelength in A
+deltalambda1 = lambda2-lambda1; //in A
+//For first order
+n =1;
+theta1 = 20.355; // in degrees
+deltatheta1 = ((n*deltalambda1)/((a1_plus_b1)*cosd(theta1)));// dispersion in degrees/A
+rp1 = n*N1; // resolving power
+
+
+//(b)15000 lines per cm
+// 1 cm = 0.393701 inches, so We have 15000 lines per 0.393701 inches.
+//Therefore, For 1 inch we have 15000/0.393701 = 38099.979 or 38100 lines
+N2 = 38100 ; //38100 lines per inch
+a2_plus_b2 = (2.54/N2)*10^8 ; //grating element in A
+//For first order
+theta_1 = asind((n*lambda1)/(a2_plus_b2));// in degrees
+deltatheta_1 = ((n*deltalambda1)/((a2_plus_b2)*cosd(theta_1)));// dispersion in degrees/A
+rp2 = n*15000; // resolving power
+
+
+//(c)5906 lines per cm
+// 1 cm = 0.393701 inches, so We have 5906 lines per 0.393701 inches.
+//Therefore, For 1 inch we have 5906/0.393701 = 15001.232 or 15001 lines
+N3 = 15001; //15001 lines per inch
+a3_plus_b3 = (2.54/N3)*10^8; //grating element in A
+//For first order
+theta__1 = asind((n*lambda1)/(a3_plus_b3)); // in degrees
+deltatheta__1 = ((n*deltalambda1)/((a3_plus_b3)*cosd(theta__1))); // dispersion in degrees/A
+rp3 = n*5906; // resolving power
+
+printf(" Number of lines \tGrating element (in A)\t Angle of diffraction(degrees)\t Dispersion (degrees/A) \t Resolving Power\n");
+printf("%d /inch\t\t\t %.0f\t\t %.2f \t\t\t\t %.2f x 10^-3\t\t\t %d\n",N1,a1_plus_b1,theta1,deltatheta1*10^3,rp1);
+printf("%d /cm\t\t\t %.0f\t\t %.2f \t\t\t\t %.2f x 10^-3\t\t\t %d\n",15000,a2_plus_b2,theta_1,deltatheta_1*10^3,rp2);
+printf("%d /cm\t\t\t %.0f\t\t %.2f \t\t\t\t %.2f x 10^-3\t\t\t %d\n",5906,a3_plus_b3,theta__1,deltatheta__1*10^3,rp3);
+// Error in textbook for dispersion values . Error in decimal point placement .
diff --git a/2243/CH4/EX4.8/Res4_8.txt b/2243/CH4/EX4.8/Res4_8.txt new file mode 100755 index 000000000..da7c0af7c --- /dev/null +++ b/2243/CH4/EX4.8/Res4_8.txt @@ -0,0 +1,4 @@ + Number of lines Grating element (in A) Angle of diffraction(degrees) Dispersion (degrees/A) Resolving Power
+15000 /inch 16933 20.36 0.37 x 10^-3 15000
+15000 /cm 6667 62.07 1.89 x 10^-3 15000
+5906 /cm 16932 20.36 0.37 x 10^-3 5906
\ No newline at end of file diff --git a/2243/CH4/EX4.9/Ex4_9.sce b/2243/CH4/EX4.9/Ex4_9.sce new file mode 100755 index 000000000..20d31d827 --- /dev/null +++ b/2243/CH4/EX4.9/Ex4_9.sce @@ -0,0 +1,21 @@ +clc();
+clear;
+//Given:
+//Wavelength
+n=1; // first order diffraction
+lambda1 = 4680 ;// Wavelength in A
+lambda2 = 4800; //Wavelength in A
+lambda3 = 5770 ; // Wave;ength in A
+// First order diffraction angle
+theta1 = 28.0; // angle in degrees
+theta2 = 28.7; // angle in degrees
+theta3 = 35.5; //angle in degrees
+//Grating equation : (a+b) = n*lambda/sin(theta)
+a1_plus_b1 = (n*lambda1)/sind(theta1); //spacing in A
+a2_plus_b2 = (n*lambda2)/sind(theta2); //spacing in A
+a3_plus_b3 = (n*lambda3)/sind(theta3); //spacing in A
+mean_spacing = (a1_plus_b1 + a2_plus_b2 + a3_plus_b3)/3; // mean spacing in A
+printf("(a)Wavelength :%d A \n Angle of 1st order Diffraction : %.1f degrees \n Spacing = %.1f A\n\n",lambda1,theta1,a1_plus_b1);
+printf("(b)Wavelength :%d A \n Angle of 1st order Diffraction : %.1f degrees \n Spacing = %.1f A\n\n",lambda2,theta2,a2_plus_b2);
+printf("(c)Wavelength :%d A \n Angle of 1st order Diffraction : %.1f degrees \n Spacing = %.1f A\n\n",lambda3,theta3,a3_plus_b3);
+printf("Mean Spacing = %.1f A",mean_spacing);
diff --git a/2243/CH4/EX4.9/Res4_9.txt b/2243/CH4/EX4.9/Res4_9.txt new file mode 100755 index 000000000..f5d3758a2 --- /dev/null +++ b/2243/CH4/EX4.9/Res4_9.txt @@ -0,0 +1,13 @@ + (a)Wavelength :4680 A
+ Angle of 1st order Diffraction : 28.0 degrees
+ Spacing = 9968.7 A
+
+(b)Wavelength :4800 A
+ Angle of 1st order Diffraction : 28.7 degrees
+ Spacing = 9995.3 A
+
+(c)Wavelength :5770 A
+ Angle of 1st order Diffraction : 35.5 degrees
+ Spacing = 9936.2 A
+
+Mean Spacing = 9966.7 A
\ No newline at end of file |