From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3537/CH5/EX5.7/Ex5_7.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3537/CH5/EX5.7/Ex5_7.sce (limited to '3537/CH5/EX5.7/Ex5_7.sce') 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) -- cgit