3_PowerRadiated/measuredPowerLienardWiechert/measuredPowerLienardWiechert.c
//return the correctly scaled vector given its unit vector and magnitude:
return the correctly scaled vector given its unit vector and magnitude.
return the correctly scaled vector given its unit vector and magnitude .
void returnProperSizedVec(double *unitVec, double magnitude, double *vec) {
  vec[0] = unitVec[0]*magnitude;
  vec[1] = unitVec[1]*magnitude;
  vec[2] = unitVec[2]*magnitude;
}
void returnProperSizedVec ( double * unitVec , double magnitude , double * vec ) { vec [ 0 ] = unitVec [ 0 ] * magnitude ; vec [ 1 ] = unitVec [ 1 ] * magnitude ; vec [ 2 ] = unitVec [ 2 ] * magnitude ; }
return the correctly scaled vector given its unit vector and magnitude:
return the correctly scaled vector given its unit vector and magnitude :