1 2 3 4 5 6 7 8 9
//Variable declaration V=15*10**3; //voltage(V) //Calculation lamda=1.227/sqrt(V); //wavelength(nm) //Result printf('wavelength is %0.3f nm \n',(lamda))