public double potential(double distance, double massA, double massB,double combined_radii){
 		distance=Math.max((double)3, distance);
		return massA * massB * 
					(distance*Math.log(distance) - distance);
	}