summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.17/Ex2_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH2/EX2.17/Ex2_17.sce')
-rw-r--r--3537/CH2/EX2.17/Ex2_17.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH2/EX2.17/Ex2_17.sce b/3537/CH2/EX2.17/Ex2_17.sce
new file mode 100644
index 000000000..051a69b80
--- /dev/null
+++ b/3537/CH2/EX2.17/Ex2_17.sce
@@ -0,0 +1,10 @@
+//Example 2_17
+clc();
+clear;
+//To find the slit width
+theta=15 //units in degrees
+lemda=6500 //units in angstrom
+lemda=6500*10^-8
+n=1
+a=(n*lemda)/sin(theta*%pi/180)
+printf("slit width of white light is %f",a)