{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw3_13 - Output Variables L=length Ltot=perimeter of...

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

View Full Document Right Arrow Icon
function[Cost]=hw3_13(R) % Andrew Goodson % ENGR1412-002 % HW# % 11-13-09 % This program calculates the length of fence, Ltot required to enclose % area, A % Input Variables % A=Area, R=Radius
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % Output Variables % L=length, Ltot=perimeter of enclosed area % Input A=1600;%ft^2 % Calculations L=(A-0.5.*pi.*R.^2)./(2.*R); Cost=30.*(2.*R.+2.*L).+40.*pi.*R;...
View Full Document

{[ snackBarMessage ]}