This preview shows page 1. Sign up to view the full content.
Unformatted text preview: % variable called "amount". Also, assume that the cone is filled at a % rate of 1.0 in^3/s. Find the amount of time it takes to fill one ice % cream cone, and store that value in a variable called "time_to_fill". % % Note: Your answer should be in units of in^3. Don't convert to any % other unit of measurement such as ft^3, or yd^3. Also, don't forget to % include the hemispherical dome of ice cream above the cone. % radius_in=0.4; %pertains to cone and hemisphere, it is half of the diameter, which is 0.8 height_in=4.0; %pertains to cone volume_cone=(1./3).*pi.*radius_in.^2.*height_in; %units in^3 volume_hemisphere=(2./3).*pi.*radius_in.^3; %units in^3 amount=volume_cone+volume_hemisphere %units in^3 fill_rate=1.0; %units in^3/s time_to_fill=amount./fill_rate %final units in s...
View Full Document
- Spring '08