summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.28/Ex1_28.sce
blob: 162af1a6197d8e68a966f18624c9fa481dc5e577 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 1_28
clc();
clear;
//To calculate the order of interference of the dark fringe
u=1.33
t=1.5*10^-4                       //units in cm
i=60                             //units in degrees
lemda=5*10^-5                    //units in cm
r=asin(sin(60*%pi/180)/u)*180/%pi
n=(2*u*t*cos(r*%pi/180))/lemda
printf("The order of interface of the dark fringe is %.0f",n)