summaryrefslogtreecommitdiff
path: root/3769/CH18/EX18.10/Ex18_10.sce
blob: e6b5b9f83f7d321090450c74f11d3084c97004ae (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//given
w=0.031
ur=1.645
ub=1.665

//Calculation
u=1+((ub-ur))/w

//Result
printf("\n Refrective index for yellow colour is %0.3f  ",u)