1 2 3 4 5 6 7 8 9 10 11
clear //Given n=2.0 n1=3.0 //Calculation E2=-13.6/n**2 E3=-13.6/n1**2 //Result printf("\n Energies of two energy level is %0.3f ev and %0.2f ev",E2,E3)