blob: 7ffc416af276f7f802882b83f811f241be35bc7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Exa 1.21.2
clc;
clear;
close;
// Given data
lembda = 1.6;// in Å
lembda = lembda * 10^-10;// in m
theta = 14.2;// in degree
n = 1;
//Formula 2*d*sin(theta) = n*lembda;
d = (n*lembda)/(2*sind(theta));// in m
d = d * 10^10;// in Å
disp(d,"The spacing of atomic layer in the crystal in Å is");
|