To find the volume of the sphere with the given conditions, let's first find the radius of the cylinder.
The volume \( V \) of a cylinder is given by the formula:
\[ V = \pi r^2 h \]
where \( r \) is the radius and \( h \) is the height of the cylinder. We know from the problem that the volume of the cylinder \( V = 36 , \text{cm}^3 \).
Next, let's denote the height of the cylinder as \( h \). According to the problem, the radius of the cylinder is equal to the radius of the sphere, and the height of the cylinder is equal to the diameter of the sphere, which is \( 2r \).
Thus, we can rewrite the equation for the volume of the cylinder using these relationships:
\[ 36 = \pi r^2 (2r) \]
This simplifies to:
\[ 36 = 2 \pi r^3 \]
Now, we can solve for \( r^3 \):
\[ r^3 = \frac{36}{2 \pi} = \frac{18}{\pi} \]
Next, we calculate the volume \( V_s \) of the sphere, which is given by the formula:
\[ V_s = \frac{4}{3} \pi r^3 \]
Substituting \( r^3 \) into the sphere’s volume formula:
\[ V_s = \frac{4}{3} \pi \left(\frac{18}{\pi}\right) \]
This simplifies to:
\[ V_s = \frac{4}{3} \cdot 18 = 24 , \text{cm}^3 \]
Thus, the volume of the sphere is \(\boxed{24}, \text{cm}^3\).