STEP 1: find radius $ r $
To find radius $ r $ use formula:
$$ d = 2 \cdot r $$After substituting $d = 3\, \text{cm}$ we have:
$$ 3\, \text{cm} = 2 \cdot r $$ $$ r = \dfrac{ 3\, \text{cm} }{ 2 } $$ $$ r = \frac{ 3 }{ 2 }\, \text{cm} $$STEP 2: find height $ h $
To find height $ h $ use formula:
$$ V = h ^{ 2 } \cdot r \cdot \pi$$After substituting $V = 28\, \text{cm}$ and $r = \dfrac{ 3 }{ 2 }\, \text{cm}$ we have:
$$ 28\, \text{cm} = \frac{ 3 }{ 2 }\, \text{cm} \cdot h ^{ 2 } \cdot \pi $$$$ h ^{ 2 } = \dfrac{ 28\, \text{cm}}{ \frac{ 3 }{ 2 }\, \text{cm} \, \pi } $$$$ h ^{ 2 } \approx 5.9418 $$$$ h \approx \sqrt{ 5.9418 } $$$$ h \approx 2.4376 $$