diff options
Diffstat (limited to '2243/CH4/EX4.4/Ex4_4.sce')
-rwxr-xr-x | 2243/CH4/EX4.4/Ex4_4.sce | 21 |
1 files changed, 21 insertions, 0 deletions
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
|