summaryrefslogtreecommitdiff
path: root/3875/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH5/EX5.6/Ex5_6.sce')
-rw-r--r--3875/CH5/EX5.6/Ex5_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3875/CH5/EX5.6/Ex5_6.sce b/3875/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..c674b18bc
--- /dev/null
+++ b/3875/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,15 @@
+clc;
+clear;
+lambda=5000*10^-8 //wavelength in cm
+N=15000 //lines per inch
+k=3
+e=1/4000 //in cm
+
+//calculation
+sin_theta = (k*lambda)/e //in radian
+cos_theta = sqrt(1-sin_theta^2) // in radian
+disspersive_power = k/(e*cos_theta)
+
+printf("Dispersive power of the grating in third order spectrum = %d",disspersive_power)
+
+