summaryrefslogtreecommitdiff
path: root/1991/CH10/EX10.6
diff options
context:
space:
mode:
Diffstat (limited to '1991/CH10/EX10.6')
-rwxr-xr-x1991/CH10/EX10.6/6.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1991/CH10/EX10.6/6.sce b/1991/CH10/EX10.6/6.sce
new file mode 100755
index 000000000..9cf3d06c2
--- /dev/null
+++ b/1991/CH10/EX10.6/6.sce
@@ -0,0 +1,16 @@
+clc
+clear
+//input
+n1=6//6th order image
+n2=5//5th order image
+n=3000//lines per cm
+//calculation
+l=n2*0.11*10^-6/(6-5)//applying dsinx=nl
+l1=l+(0.11*10^-6)//applying dsinx=nl
+d=1/(n*100)//applying dsinx=nl ,grating space calculation
+x=n1*l/d
+y=asind(x)
+//output
+printf("the wavenlength of first wave is %3.3e m",l)
+printf("\nthe wavenlength of second wave is %3.3e m",l1)
+printf("\n the angular displacement is %3.3f deg",y)