hw22_4 - cost=450(2*pi*r.^2 380(2*pi*r*h...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Andrew Goodson % ENGR 1412-002 % HW 22 % 11/20/2009 % 22-4 % Input % 20,000gallons=2,680ft^3 % Calculations v=20000*.134; r=[8:.01:11]; h=(v-2.*pi.*r.^3./3)./(pi.*r.^2);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cost=450.*(2.*pi.*r.^2)+380.*(2.*pi.*r.*h); plot(r,cost),title('Figure 2. Cost v.s. Radius') %Output...
View Full Document

This note was uploaded on 06/30/2011 for the course ENGR 403 taught by Professor Ahn during the Spring '11 term at Birmingham-Southern College.

Ask a homework question - tutors are online