Learn R Programming

libamtrack (version 0.6.3)

AT.E.from.beta: AT.E.from.beta

Description

Returns energy per nucleon of particle with relativistic speed beta

Usage

AT.E.from.beta(beta)

Arguments

beta
vector of relative particle speed beta = v/c (array of size n).

Value

  • E.MeV.uvector of energies of particle per nucleon [MeV] (array of size n)
  • statusstatus

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/tags/0.6.3/src/AT_Phy sicsRoutines.c#L71

Examples

Run this code
# Compute energies for betas between 0.1 and 0.99:
AT.E.from.beta( beta = c(0.1, 0.1*(1:9), 0.99))

Run the code above in your browser using DataLab