summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.19/22_19.sce
blob: 6c4b68d2ff46e1bf3db984d61e18945874865ea2 (plain)
1
2
3
4
5
6
7
//ques-22.19
//Calculating distance between planes of a crystal
clc
ang=30;
w=200;//wavelength (in pm)
d=w/(2*sind(ang));
printf("The distance between planes of the crystal is %.0f pm.",d);