To find the volume of a sphere (which is the shape of the piñata), you can use the formula:
\[ V = \frac{4}{3} \pi r^3 \]
Where \( r \) is the radius.
First, calculate the radius from the diameter:
\[ \text{Diameter} = 18 \text{ inches} \implies \text{Radius} = \frac{18}{2} = 9 \text{ inches} \]
Now, substitute the radius into the volume formula:
\[ V = \frac{4}{3} \times 3.14 \times (9)^3 \]
Calculate \( (9)^3 \):
\[ 9^3 = 729 \]
Now plug that back into the volume formula:
\[ V = \frac{4}{3} \times 3.14 \times 729 \]
Calculating \( \frac{4}{3} \times 3.14 \):
\[ \frac{4}{3} \times 3.14 \approx 4.1867 \]
Now calculate the volume:
\[ V \approx 4.1867 \times 729 \approx 3,051.5 \]
Rounding to the nearest tenth gives us:
\[ \approx 3,052.1 \text{ inches}^3 \]
So the volume of the piñata is:
3,052.1 inches³