1 2 3 4 5 6 7 8 9 10
////Given E=13.6 //ev n1=4 n2=2 //Calculation energy=E*((1/2.0**2)-(1/4.0**2)) //Result printf("\n Energy of photon emitted in the transition is %0.3f ev",energy)