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))