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 --- 1694/CH1/EX1.31/EX1_31.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 1694/CH1/EX1.31/EX1_31.sce (limited to '1694/CH1/EX1.31/EX1_31.sce') diff --git a/1694/CH1/EX1.31/EX1_31.sce b/1694/CH1/EX1.31/EX1_31.sce new file mode 100644 index 000000000..fe8f45456 --- /dev/null +++ b/1694/CH1/EX1.31/EX1_31.sce @@ -0,0 +1,18 @@ +clear; +clc; +printf("\nEx1.31\n"); +//page no.-38 +//given +n=1;..........//order +theta=34;....//angle in degrees +h=2; +k=0; +l=2; +lambda=1.5*10^-10;......//wavelength in m +//By bragg's law + +d=(n*lambda)/(2*sind(theta))......//interplanar spacing in m + +a=d*sqrt(h^2+k^2+l^2).............//lattice constant in m + +printf("\nlattice constant is 3.773 angstrom \n"); -- cgit