blob: 012bfb76b9a56d2e80c1d115f0938b2e88df7c80 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc;
clear;
lambda=0.12 //wavelength in nm
tetha=28 //Braggs angle in degree
n=2 //second order reflection
//calculation
d=(n*lambda)/(2*sind(28))
mprintf("The interplanar spacing of the reflecting planes of the crystal is = %1.2f nm",d)
|