diff options
Diffstat (limited to '3875/CH5/EX5.9/Ex5_9.sce')
-rw-r--r-- | 3875/CH5/EX5.9/Ex5_9.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3875/CH5/EX5.9/Ex5_9.sce b/3875/CH5/EX5.9/Ex5_9.sce new file mode 100644 index 000000000..2617a97ec --- /dev/null +++ b/3875/CH5/EX5.9/Ex5_9.sce @@ -0,0 +1,13 @@ +clc;
+clear;
+sin_theta1=0.2 //angle in radian
+sin_theta2=0.3 // angle in radian
+lambda = 5000*10^-9 //wavelength in cm
+d=2.5 //width of the grating surface in cm
+
+//calculations
+e=lambda/(sin_theta2-sin_theta1) //in cm
+N=d/e //number or rulings
+Rp=2*N
+
+printf("Resolving power = %d",ceil(Rp))
|