The order of magnitude is not correct:
#include <stdio.h>
#include <math.h>
#define M_H 1.007975/(6.02214076*pow(10,23)*1000)
#define k_B 1.380649*pow(10,-23)
int main()
{
printf("%G\n",M_H);
printf("%G\n",k_B);
printf("%G\n",M_H/k_B);
return 0;
}
Because it gives:
1.67378E-27
1.38065E-23
1.21232E-50
And i need that constants as defined.
I used gcc 12.2.1-1 with the -lm
flags. I was expecting:
1.67378E-27
1.38065E-23
1.21232E-4