summaryrefslogtreecommitdiff
path: root/3701/CH3/EX3.2/Ex3_2.sce
blob: 37ac17a17e69aa2a182045ffa9bf347d8522a8b3 (plain)
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)