double calculateEnergy(double bulletWeight, double velocity) { return bulletWeight * pow(velocity, 2) / 450400; }