diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH3/EX3.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3014/CH3/EX3.6')
-rwxr-xr-x | 3014/CH3/EX3.6/Ex3_6.sce | 9 | ||||
-rwxr-xr-x | 3014/CH3/EX3.6/Ex3_6.txt | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/3014/CH3/EX3.6/Ex3_6.sce b/3014/CH3/EX3.6/Ex3_6.sce new file mode 100755 index 000000000..37961fd77 --- /dev/null +++ b/3014/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,9 @@ + clc
+//given that
+d = 2.5 // crystal spacing in angstrom
+n = 1 // order for longest passing wavelength
+theta = 90 // angle for longest passing wavelength
+printf("Example 3.6")
+lambda = 2*d*sin(theta*%pi/180)/n // Calculation of longest wavelength
+
+printf("\nLongest wavelength is of %d angstrom. \n\n\n",lambda)
diff --git a/3014/CH3/EX3.6/Ex3_6.txt b/3014/CH3/EX3.6/Ex3_6.txt new file mode 100755 index 000000000..c8c9bd0f7 --- /dev/null +++ b/3014/CH3/EX3.6/Ex3_6.txt @@ -0,0 +1,3 @@ +
+Example 3.6
+Longest wavelength is 5 angstrom.
|