summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.14/Ex5_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.14/Ex5_14.sce')
-rw-r--r--3537/CH5/EX5.14/Ex5_14.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3537/CH5/EX5.14/Ex5_14.sce b/3537/CH5/EX5.14/Ex5_14.sce
new file mode 100644
index 000000000..67682d7f7
--- /dev/null
+++ b/3537/CH5/EX5.14/Ex5_14.sce
@@ -0,0 +1,13 @@
+//Example 5_14
+clc();
+clear;
+//To clculate the inter frame spacing
+lamda=1.5418*10^-10 //units in mts
+theta=30 //units in degrees
+d=lamda/(2*sin(theta*%pi/180))
+d=d*10^10 //units in A
+h=1
+k=1
+l=1
+a=d*sqrt(h^2+k^2+l^2)
+printf("The inter frame spacing is a=%.2f A",a)