I suppose this question is going to be immediately flagged as subjective, but which do you think is better:double volume(double pressure, double n_moles, double temperature) {  return n_moles * BOLTZMANN_CONSTANT * temperature / pressure;}ordouble volume(double P, double n, double T) {  return n*R*T/P;}In other words, should functions that implement some equation follow that equation's notation, or should they use more verbose names?
Should 'mathematical' functions follow mathematical notation?
math;coding style;readability
Depends on who is reading it. If you can guarantee that for all eternity, the next programmer who reads your code is also familiar with thermodynamics, then yes, go for the truncated version.My personal style is to use such variables (whose abbreviations are commonly known in the field), but include their description in comments./* P : Pressure   V : Volume   n : Number of moles   R : Boltzmann constant   T : Temperature (in K)*/double compute_V(double P, double n, double T) {  return n*R*T/P;}