summaryrefslogtreecommitdiff
path: root/3651/CH3/EX3.8/8.sce
blob: a9c37369e3c3aa426000cdacfd651f9724bd8153 (plain)
1
2
3
4
5
6
7
8
//Variable declaration
V=10000

//Calculation
lamda=12.26/sqrt(V)

//Result
printf('Wavelength =%0.3f Angstorm' ,lamda)