summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.21/Ex2_21.sce
blob: 90b9f60e8005aed0bb9ea98f9b75a1b181951cc8 (plain)
1
2
3
4
5
6
7
clc
//to calculate angle of the wedge
lambda=6000*10^-10 //wavelength in m
mu=1.4 //refractive index in unitless
omega=2*10^-3 //distance in m
theta=lambda/(2*mu*omega)
disp("the angle of the wedge is theta ="+string(theta)+"radians")