Design optimization of material cost of water tank
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried several ways to address this problem. I failed so would like to ask you guys.
One way to improve engineering designs is by formulating the equations describing the design in the form of a minimization or maximization problem. This approach is called design optimization. Examples of quantities to be minimized are energy consumption and construction materials. Items to be maximized are useful life and capacity such as the vehicle weight that can be supported by a bridge. In this project, we consider the problem of minimizing the material cost associated with building a water tank. The water tank consists of a cylindrical part of radius r and height h, and a hemispherical top. The tank is to be constructed to hold 500 meter cubed when filled. The surface area of the cylindrical part is 2*pi*rh, and its volume is pi*r^2. The surface area of the hemispherical top is given by 2*pi*r^2, and is volume is given by 2*pi*r^3/3. The cost to construct the cylindrical part of the tank is $300 per square meter of surface area;the hemispherical part costs $400 per square meter. Use the fminbnd function to compute the radius that results in the least cost. Compute the corresponding height h.
1 Kommentar
Marc
am 4 Okt. 2013
Please do not quote homework problems. You need to determine your function that you want to minimize/maximize. Since all of the Matlab functions minimize functions, to maximize, you simply take the negative of your objective function.
Take what you said and formulate it into some mathematical equations that give you cost as a function of radius.
If you can get that far, I'll help you with the rest.
Good luck
Antworten (2)
Walter Roberson
am 5 Okt. 2013
You need to use either a function or script to call fminbnd and you need to use a function (possibly an anonymous one) that fminbnd will evaluate to determine the cost for any one proposed radius.
The homework problem directs you to always find the radius and corresponding height. It does not ask you to be able to find anything else, so there is no need for asking the user what kind of data they want to solve for.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!