summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.15/EX1_15.sce
blob: e3335ab98ddc2e74e067aa4de3c76e0af03028a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear;
clc;
printf("\nEx1.15\n");
//page no.-25
//given
theta=12;.......//angle in degrees
n=1;............//order of spectrum
d=3.035;....//interatomic spacing in angstrom

lambda=(2*d*sind(12))/n.........//wavelength in angstrom

printf("\nwavelength of X ray beam is 1.262 angstrom\n");