summaryrefslogtreecommitdiff
path: root/3756/CH1/EX1.7/Ex1_7.sce
blob: 3116943576350e7005e9a4e1c78c123c1360a764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clc
//
//
//

//Variable declaration
D=2                     //Distance from screen
lambdaa=5890*10**-10    //Wavelength
mu=1.5                  //refractive index of glass
a=0.25                  //distance from slit
Beta=0.2*10**-3         //Fringe width


//Calculations
alpha=(D*lambdaa*180*10**-6)/(2*a*(mu-1)*Beta*3.14)
A=(180-2*((alpha)))


//Result
printf("\n The Angle of prism at the vertex is is %i deg 17.8 min",A)