//ques-22.17
//Calculating glancing angle required
clc
w=154;//wavelength (in pm)
d=315;//(in pm)
c=w/(2*d);
//For, Sind(ang) = c
ang=14.1;
printf("The galancing angle is %.1f degrees.",ang);