From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3014/CH3/EX3.6/Ex3_6.sce | 9 +++++++++ 3014/CH3/EX3.6/Ex3_6.txt | 3 +++ 2 files changed, 12 insertions(+) create mode 100755 3014/CH3/EX3.6/Ex3_6.sce create mode 100755 3014/CH3/EX3.6/Ex3_6.txt (limited to '3014/CH3/EX3.6') 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. -- cgit