Tpass.C 172 B

123456
  1. void Tpass(float sqrtSNN, float R)
  2. {
  3. float mp = 0.938;
  4. float t_pass = 4*mp*R/sqrt(sqrtSNN*sqrtSNN - 4*mp*mp);
  5. cout << "Tpass = " << t_pass << " fm/c" << endl;
  6. }