blob: 93562aafe8bf1855dddffbab0762b7fb17365070 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//ques-22.20
//Calculating glancing angle required
clc
a=305;//edge length (in pm)
w=150;//wavelength (in pm)
d=a/sqrt(2);
c=w/(2*d);
//For sind(ang) = c
ang=20.35;
printf("The glancing angle is %.2f degrees.",ang);
|