summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.19/22_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH22/EX22.19/22_19.sce')
-rw-r--r--1427/CH22/EX22.19/22_19.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH22/EX22.19/22_19.sce b/1427/CH22/EX22.19/22_19.sce
new file mode 100644
index 000000000..6c4b68d2f
--- /dev/null
+++ b/1427/CH22/EX22.19/22_19.sce
@@ -0,0 +1,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);