summaryrefslogtreecommitdiff
path: root/1172/CH3/EX3.9/Example3_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH3/EX3.9/Example3_9.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1172/CH3/EX3.9/Example3_9.sce')
-rwxr-xr-x1172/CH3/EX3.9/Example3_9.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1172/CH3/EX3.9/Example3_9.sce b/1172/CH3/EX3.9/Example3_9.sce
new file mode 100755
index 000000000..f2e0eebf7
--- /dev/null
+++ b/1172/CH3/EX3.9/Example3_9.sce
@@ -0,0 +1,12 @@
+clc
+//Given that
+d = 3.04 // inter layer separation in Angstrom
+theta = 14.7 // in degree
+n = 2 // order of brags reflection
+//Sample Problem Page No. 139
+printf("\n\n\n # Problem 9 # \n")
+printf("\n Standard formula Used \n 2 * d * sin(theta) = n * lambda")
+lambda = 2 * d * sin( theta * (%pi /180))/ n //calculation of wavelength making second order Braggs reflection
+printf ( " \n Second order brags reflection occurs at %f degree for the wavelength %f Angstrom\n" , theta , lambda)
+
+