summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.17/Ex1_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.17/Ex1_17.sce')
-rw-r--r--3537/CH1/EX1.17/Ex1_17.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3537/CH1/EX1.17/Ex1_17.sce b/3537/CH1/EX1.17/Ex1_17.sce
new file mode 100644
index 000000000..5789c68c8
--- /dev/null
+++ b/3537/CH1/EX1.17/Ex1_17.sce
@@ -0,0 +1,13 @@
+//Example 1_17
+clc();
+clear;
+//To calculate the order of interference of the dark band
+t=1.5*10^-6 //units in cm
+lemda=5*10^-7 //units in cm
+i=60 //units in degree
+u=1.33
+r=asin((sin(i*%pi/180))/u)*(180/%pi) //units in degree
+n=(2*u*t*cos(r*%pi/180))/lemda
+printf("The order of interference of the dark band is %.0f",n)
+//In this question,the thickness and lemda values are given wrong
+//To get the answer i have followed the values that are taken in the answer