blob: f88e1703398015b94a58882bff30daaa0a214122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
clear;
n=3 //third order reflection
lambda=97 //wavelength in pm (third order)
tetha1=23 //Braggs angle for first order in degree
tetha2=60 //Braggs angle for third order in degree
//calculation
lambda_1=(n*lambda*sind(tetha1))/sind(tetha2)
d=(n*lambda)/(2*sind(tetha2))
mprintf("\nThe wavelength that undergoes first order reflection is = %d pm\n",lambda_1)
mprintf("The interplanar spacing is = %d pm",d)
|