summaryrefslogtreecommitdiff
path: root/3756/CH2/EX2.13/Ex2_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH2/EX2.13/Ex2_13.sce')
-rw-r--r--3756/CH2/EX2.13/Ex2_13.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3756/CH2/EX2.13/Ex2_13.sce b/3756/CH2/EX2.13/Ex2_13.sce
new file mode 100644
index 000000000..1bb8b3cc4
--- /dev/null
+++ b/3756/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,16 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=5000*10**-8 //Wavelength
+theta=30 //Angular Width
+
+
+//Calculations
+thetarad=((%pi/180)*(theta))
+invde=((2*lambdaa)/(sin(thetarad)))**-1
+
+//Result
+printf("\n The number of line cm in grating is %0.3f ",invde)