summaryrefslogtreecommitdiff
path: root/3755/CH3/EX3.7/Ex3_7.sce
blob: 0e5f583e011e5a34baa331fe66c0811e5660b3dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//
//
//

//Variable declaration
d=2.82*10^-10;    //lattice spacing(m)
sintheta=1;   
n=1;

//Calculation
lamda_max=2*d*sintheta/n;    //longest wavelength(m)

//Result
printf("\n longest wavelength is %0.3f angstrom",lamda_max*10^10)