summaryrefslogtreecommitdiff
path: root/3669/CH4/EX4.14/14.sce
blob: 03a43e8c183d5f5f0b61481ad6e9f02b9999aee7 (plain)
1
2
3
4
5
6
7
8
9

//Variable declaration
V=1600;    //voltage(V)

//Calculation
lamda=1.227/sqrt(V);     //wavelength(nm)

//Result
printf('wavelength is %0.3f  angstrom   \n',(lamda*10))