blob: 72a3250f537f40a6a9e2f1d3b6d676ceca203fcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
////Given
Z=1.0
n=1.0
Z1=4 //for Be++
n1=2.0
//Calculation
//
n1=sqrt((n**2/Z)*Z1)
r=(Z1**2/n1**2)/(Z**2/n**2) //Ratio of two energies
//Result
printf("\n nBe++= %0.3f ", n1)
printf("\n comparison is %0.3f ",r)
|