diff options
Diffstat (limited to '1427/CH22/EX22.18/22_18.sce')
-rw-r--r-- | 1427/CH22/EX22.18/22_18.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH22/EX22.18/22_18.sce b/1427/CH22/EX22.18/22_18.sce new file mode 100644 index 000000000..214350c0d --- /dev/null +++ b/1427/CH22/EX22.18/22_18.sce @@ -0,0 +1,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);
|