B Unit not homogeneous

1. Nov 3, 2017

KingTubby

Hello!
I was reading an article from Wikipedia(https://en.wikipedia.org/wiki/Lapse_rate) and the formula seems to me not homogenous since g is in m/s2 and cp in J/K=(kg*m2)/(K*s2) so at the end, we'll get K/(kg*m).

How they get rid of kg-1 ?
Thanks

2. Nov 3, 2017

mjc123

cp is stated to be the specific heat, i.e. per unit mass, so its units are J/(kg K).