Program to find the minimum total cost for the fence, MATLAB Programming

Assignment Help:

A fence enclosure consists of a rectangle of length L and width 2R, and a semicircle of radius R, as shown in Figure 1. The enclosure is to be built to have an area of 1600 m2.  The ratio between 2R and L should be within the range of 0.3< 2R/L < 0.6 . The cost of various fence materials is listed in the following table:

 

Material A ($/m)

Material B ($/m)

Material C ($/m)

Material D ($/m)

Material E ($/m)

Material F ($/m)

Curved portion

120

122

130

136

140

142

Straight portion

140

136

130

128

122

120

(Same materials will be used for both curved and straight portions.)

Develop a Matlab program to find the minimum total cost for the fence. A resolution of 0.01 m for the values of R and L is required. A report should be completed to show problem formulation, programming procedure and result discussions.

2163_Program to Find the Minimum Total Cost for the Fence.png

Figure: The diagram of the fence enclosure.


Related Discussions:- Program to find the minimum total cost for the fence

Error-checking user input in the while loop, Error-Checking user input in t...

Error-Checking user input in the While Loop: In many applications, whenever the user is prompted to enter anything, there is a valid range of values. When the user enters a wr

Rules for variable names, Rules for variable names: In addition, the v...

Rules for variable names: In addition, the variable names must always be mnemonic that means they should make some sense. For illustration, if the variable is storing the radi

Matlabs quad function to perform the integral, We wish to numerically perfo...

We wish to numerically perform the following integration: (a) Use Matlab's quad function to perform the above integral. (b) Analytically evaluate the integral (e.g. do t

Finding a given number is odd or even in array, to find given number is odd...

to find given number is odd or even in an array with explanation and flow chart

Visual cryptography, how to implement 3 out of 4 visual cryptography in MAT...

how to implement 3 out of 4 visual cryptography in MATLAB?

Creating row vectors, Creating row Vectors: There are many ways to gen...

Creating row Vectors: There are many ways to generate row vector variables. The most important way is to put the values which you want in the vector in square brackets, separa

Illustration to logical function , Illustration to logical function: I...

Illustration to logical function: In addition to such logical operators, the MATLAB also has a function xor, that is the exclusive or function. It returns the logical true if

Extraction, i want to extract an image from its background in matlab..the i...

i want to extract an image from its background in matlab..the image is a binary image

Image processing, i am doing my project on matlab and the topic of my proje...

i am doing my project on matlab and the topic of my project is invisible watermarking.How we can extract all pixel values of image in binary form.

Grid function - plot functions, Grid function: grid shows grid lin...

Grid function: grid shows grid lines on the graph. Called by itself, it is a toggle which turns the grid lines on & off. Alternatively, the commands grid on & grid off can

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd