2_Trajectories/idealCircularMotion/idealCircularMotion.c
double calculateV(double T) {
  double eMass = 9.10938356*pow(10.0,-31.0);
  double c = 299792458.0;
  
  double factor = pow(T,2.0)/(pow(eMass,2.0)*pow(c,4.0)) + (2.0*T)/(eMass*pow(c,2.0)) + 1;
  double beta = sqrt(1.0 - 1.0/factor);
  double electronVel = beta*c;
  return electronVel;
}
//calculate the speed of the electron from the relativistic kinetic energy:
calculate the speed of the electron from the relativistic kinetic energy.
calculate the speed of the electron from the relativistic kinetic energy .
double calculateV(double T) {
  double eMass = 9.10938356*pow(10.0,-31.0);
  double c = 299792458.0;
  double factor = pow(T,2.0)/(pow(eMass,2.0)*pow(c,4.0)) + (2.0*T)/(eMass*pow(c,2.0)) + 1;
  double beta = sqrt(1.0 - 1.0/factor);
  double electronVel = beta*c;
  return electronVel;
}
double calculateV ( double T ) { double eMass = 9.10938356 * pow ( 10.0 , -31.0 ) ; double c = 299792458.0 ; double factor = pow ( T , 2.0 ) / ( pow ( eMass , 2.0 ) * pow ( c , 4.0 ) ) + ( 2.0 * T ) / ( eMass * pow ( c , 2.0 ) ) + 1 ; double beta = sqrt ( 1.0 - 1.0 / factor ) ; double electronVel = beta * c ; return electronVel ; }
calculate the speed of the electron from the relativistic kinetic energy:
calculate the speed of the electron from the relativistic kinetic energy :