1 function pc = en2pc(energy)
3 % EN2PC calculates p*c (MeV) from energy (MeV)
13 % see also: Various_functions
15 % Author: Yuri Shprits
16 % Last change: 20014-01-01 by Dmitriy Subbotin
17 % Email: subbotin@ucla.edu
18 % The work was supported by:
19 % LANL grant 12-LR-235337, PI Yuri Shprits
20 % NASA grant NNX09AF51G, PI Yuri Shprits
23 pc = sqrt( (energy ./ mc2 + 1).^2 - 1) .* mc2;
functions for write log and support files. Functions are defined in Output.h and descripted in Output...
double pfunc(double K)
Computation of moumentum from Kinetic energy .