To find height $ h $ use formula:
$$ V = \dfrac{ r ^{ 2 } \cdot h \cdot \pi}{ 3 } $$After substituting $ V = 28.26 $ and $ r = 3 $ we have:
$$ 28.26 = \dfrac{ 3 ^{ 2 } \cdot h \cdot \pi}{ 3 } $$$$ 28.26 \cdot 3 = 3 ^{ 2 } \cdot h \cdot \pi $$$$ 84.78 = 9 \cdot h \cdot \pi $$$$ h = \dfrac{ 84.78 }{ 9 \, \pi} $$$$ h = 2.9985 $$