summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.7/Ex5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.7/Ex5_7.sce')
-rw-r--r--3537/CH5/EX5.7/Ex5_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH5/EX5.7/Ex5_7.sce b/3537/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..d01454140
--- /dev/null
+++ b/3537/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,10 @@
+//Example 5_7
+clc();
+clear;
+//To find the order of braggs equation
+d=1.181 //units in A
+theta=90 //units in degrees
+lamda=1.540
+n=(2*d*sin(theta*%pi/180))/lamda
+
+printf("The order of Braggs equation is %d",n)