summaryrefslogtreecommitdiff
path: root/623/CH1/EX1.1.30/U1_C1_30.sce
blob: 6f36fdea2aa86cf5bfceeb6d28e9e64eaae33fc4 (plain)
1
2
3
4
5
6
7
//variable initialization
RestEnergy=0.51                                   //rest energy of electron (Mev)

//calculation of minimum energy of a gamma ray photon which is required to produce an electron positron pair
E=2*RestEnergy;                                   //minimum energy of gamma ray photon (Mev)

printf("\nMinimum energy required = %.2f Mev",E);