Beam Energies and Center-Of-Mass Energy

eDISK calculates the center-of-mass energy as follows:

This is the formula used in eDISK. Note that when neglecting the lepton and the proton mass the equation simplifies to a nice pocket formula: