diff options
Diffstat (limited to '2780/CH8/EX8.11/Ex8_11.sce')
-rwxr-xr-x | 2780/CH8/EX8.11/Ex8_11.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2780/CH8/EX8.11/Ex8_11.sce b/2780/CH8/EX8.11/Ex8_11.sce new file mode 100755 index 000000000..df7c34431 --- /dev/null +++ b/2780/CH8/EX8.11/Ex8_11.sce @@ -0,0 +1,6 @@ +clc
+//to calculate wavelength
+d=2.82*10^-10 //spacing in m
+n=1
+lambda=2*d*sin(10*%pi/180)/n
+disp("wavelength of X-ray is lambda="+string(lambda)+"m")
|