summaryrefslogtreecommitdiff
path: root/1787/CH1/EX1.7/Exa1_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1787/CH1/EX1.7/Exa1_7.sce')
-rwxr-xr-x1787/CH1/EX1.7/Exa1_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1787/CH1/EX1.7/Exa1_7.sce b/1787/CH1/EX1.7/Exa1_7.sce
new file mode 100755
index 000000000..4a36e3edd
--- /dev/null
+++ b/1787/CH1/EX1.7/Exa1_7.sce
@@ -0,0 +1,12 @@
+//Exa 1.7
+clc;
+clear;
+close;
+//given data
+
+theta=16.8/2;//in degree
+n=2;//order unitless
+d=0.4;//in nm
+lambda=(2*d*sin(theta*%pi/180))/n;//in Angstrum
+disp(lambda,"wavelength of X-rays in Angstrum : ");
+//Note: Ans in the book is not correct \ No newline at end of file