summaryrefslogtreecommitdiff
path: root/3756/CH2/EX2.14/Ex2_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3756/CH2/EX2.14/Ex2_14.sce')
-rw-r--r--3756/CH2/EX2.14/Ex2_14.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3756/CH2/EX2.14/Ex2_14.sce b/3756/CH2/EX2.14/Ex2_14.sce
new file mode 100644
index 000000000..a656e70d9
--- /dev/null
+++ b/3756/CH2/EX2.14/Ex2_14.sce
@@ -0,0 +1,14 @@
+clc
+//
+//
+//
+
+//Variable declaration
+lambdaa=6000*10**-8 //Wavelength
+sinetheta=(3/4) //Angular Width
+n=4
+
+//Calculations
+gratingele=((n*lambdaa)/sinetheta)
+//Result
+printf("\n The grating element is %0.5f cm",gratingele)