To solve this problem you must apply the proccedure shown below:
1. The formulas for calculate the volume of a cylinder and and the volume of a sphere, are:
![Vc=\pi r^(2) h\\ Vs=(4)/(3)\pi r^(3)](https://img.qammunity.org/2019/formulas/mathematics/high-school/zqh9yyyjvj1opaqo7cqosy4bdco2vlc4jc.png)
Where
is the radius and
is the height.
2. You have that the sphere and the cylinder have the same radius and height. By definition, the height of the sphere is twice its radius. Therefore, the height of the cylinder is:
![h=2r](https://img.qammunity.org/2019/formulas/mathematics/high-school/3kc2knsg2p7e395rpnfm2l4q40bnuik727.png)
3. Substitute it into the formula for calculate the volume of a cylinder:
![image](https://img.qammunity.org/2019/formulas/mathematics/high-school/lcs89qqg6x3xj04zli642v9qze1oex3rk2.png)
4. Now, solve for
and substitute it into the formula for calculate the volume of a sphere:
![\pi r^(3)=(Vc)/(2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/k4wzsuwlf5qa0vsn9k19m4c1inl8vlw37k.png)
![Vs=(4)/(3)((Vc)/(2))](https://img.qammunity.org/2019/formulas/mathematics/high-school/11nui1xhql4wzllh5cxcs7q42p89ad3v6z.png)
5. Now, calculate the volume of the sphere:
![Vs=(4)/(3)((18cm^(3))/(2)) \\ Vs=12cm^(3)](https://img.qammunity.org/2019/formulas/mathematics/high-school/pmrm6p9ks2nh2prbtryu1gki0tfrae9v6z.png)
The answer is:
![12cm^(3)](https://img.qammunity.org/2019/formulas/mathematics/high-school/1c5n1ybdg0c5e33zj0ru22dzx6vwlxtxt6.png)