Unformatted text preview: % 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. % % Knowns d = 0.5; % diameter of cone is .5 inches h = 7; % height of cone is 7 inches r = d ./ 2; % radius is ofc half of diameter rate = 1.4; % rate the ice cream is filled is euqal to 1.4 inches cubed per second r % Calculations % forumala for volume of cone and of hemisphere above cone coneVol = (1./3) .* pi .* r.^2 .* h; hemiSphereVol = (2./3) .* pi .* r.^3; h % total amount of ice cream is equal to volume of cone and hemisphere % above it amount = coneVol + hemiSphereVol; a % filling time is amount divided by rate time_to_fill = amount ./ rate;...
View Full Document
This note was uploaded on 10/22/2009 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Tech.
- Fall '08