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)