Quick poll: gmean or geometric_mean

Random832 random832 at fastmail.com
Sun Jul 10 12:08:17 EDT 2016


On Sun, Jul 10, 2016, at 10:55, Ian Kelly wrote:
> force_N = -G * mass1_kg * mass2_kg / distance_m ** 2
> 
> I'm fine with "G" as is because it's the standard name for the value
> in physics contexts, and it's presumably defined in the code as a
> constant. It's every bit as clear as "pi".

Shouldn't it be G_N_m2_per_kg2, given your strategy for identifying the
units associated with the other variables?



More information about the Python-list mailing list