solve for h in the equation for density

P= M/V and V= pi r squared h

this is algebra ... straight forward ...

substituting ... p = m / (π r^2 h)

multiply by h , and divide by p

To solve for h in the equation for density, we need to substitute the given equations into each other and isolate the variable h.

Given equations:
P = M/V
V = πr²h

Substitute the value of V from the second equation into the first equation:
P = M / (πr²h)

Now, to solve for h, we can rearrange the equation:

Multiply both sides of the equation by (πr²h):
P(πr²h) = M

Divide both sides of the equation by P(πr²):
h = M / (Pπr²)

Therefore, the equation for h in terms of P, M, and r is:
h = M / (Pπr²)