summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.18/22_18.sce
blob: 214350c0d5491e663b20a88370fa22feebbcfda6 (plain)
1
2
3
4
5
6
7
8
//ques-22.18
//Calculating edge length of a unit cell
clc
w=154;//wavelength (in pm)
ang=16;
d=w/(2*sind(16));
a=2*d;
printf("The edge length of the unit cell is %d pm.",a);