summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.13/EX1_13.sce
blob: 9eecf187069f88aaf6171372d16b4bfb359f8ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear;
clc;
printf("\nEx1.13\n");
//page no.-24
//given
d=1.5;.............//interatomic spacing in Angstrom
lambda=1.4;.......//wavelength
theta=90;.......//angle in degree
//by BRAGG'S RELATION 2dsin(theta)=n*lambda

n=(2*d)/lambda.........//order of diffraction

printf("\nmaximum order of spectrum is 2\n");