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 --- 1826/CH2/EX2.26/ex2_26.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1826/CH2/EX2.26/ex2_26.sce (limited to '1826/CH2/EX2.26/ex2_26.sce') diff --git a/1826/CH2/EX2.26/ex2_26.sce b/1826/CH2/EX2.26/ex2_26.sce new file mode 100755 index 000000000..1ff572853 --- /dev/null +++ b/1826/CH2/EX2.26/ex2_26.sce @@ -0,0 +1,13 @@ +// Example 2.26, page no-46 +clear +clc +theta=27.5/2//in degrees +a=0.563*10^-9 +n=1 +h=1 +k=1 +l=1 +d=a/sqrt(h^2+k^2+l^2) +printf("\nThe lattice spacing for the plane (111) is %.2f * 10^-10 m",d*10^10) +lam=2*d*sin(theta*%pi/180)/n +printf("\nThe deBroglie wavelength of the neutrons is %.3f *10^-10 m",lam*10^10) -- cgit