Density of hydrogen on Jupiter



I am looking for a way to solve this problem. The answer would be
interesting but the formula is more important.



Assume that Jupiter consists entirely of hydrogen. (I realize that it doesn't.)

The density of hydrogen along the radius will increase as one approaches the
center.

Is there a formula that can identify the density at any point on the radius?


.