STEP 1: find radius $ r $
To find radius $ r $ use formula:
$$ d = 2 \cdot r $$After substituting $ d = 18 $ we have:
$$ 18 = 2 \cdot r $$ $$ r = \dfrac{ 18 }{ 2 } $$ $$ r = 9 $$STEP 2: find volume $ V $
To find volume $ V $ use formula:
$$ V = \dfrac{ r ^{ 2 } \cdot h \cdot \pi}{ 3 } $$After substituting $ r = 9 $ and $ h = 12 $ we have:
$$ V = \dfrac{ 81 \cdot 12 \cdot \pi}{ 3 }$$$$ V = \dfrac{ 972 \, \pi}{ 3 } $$$$ V = 324\pi $$