diff options
Diffstat (limited to '1784/CH45/EX45.5/example5.sce')
-rwxr-xr-x | 1784/CH45/EX45.5/example5.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/1784/CH45/EX45.5/example5.sce b/1784/CH45/EX45.5/example5.sce new file mode 100755 index 000000000..d6fa97a65 --- /dev/null +++ b/1784/CH45/EX45.5/example5.sce @@ -0,0 +1,24 @@ +//Example 5 +//chapter 45 +//clc() +a_o=5.63//A +d=a_o/sqrt(5) +lambda=1.10//in A +disp(d,"Interplanar spacing d in A=") + +disp("diffracted beam occurs when m=1,m=2 and m=3") +disp("when m1=1, theta in degree=") +m1=1 +x=(m1*lambda)/(2*d) +theta_1=asind(x) +disp(theta_1) +disp("when m1=2, theta in degree=") +m2=2 +x=(m2*lambda)/(2*d) +theta_2=asind(x) +disp(theta_2) +disp("when m1=3, theta in degree=") +m3=3 +x=(m3*lambda)/(2*d) +theta_3=asind(x) +disp(theta_3)
\ No newline at end of file |