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

Info iconThis 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
Background 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

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