Question: Area: A = 2 ? r h + 2 ? r Volume: V-?r2h+(23) ? r Cost: C-400 (2 ? r h) + 800 (2 ?
Area: A = 2 ? r h + 2 ? r Volume: V-?r2h+(23) ? r Cost: C-400 (2 ? r h) + 800 (2 ? r 2) Assume a "small" tank with a volume of V- Then, h=1/P-as) r Create a radius vector r over the range of 0.5 to 1.5 with a step size of 0.01. Then, create vectors for height (h) and cost (C) from the formulas above. Don't forget the dot (".") operators where needed. h- Enter the statements below to plot the cost as a function of radius. >>plot(r,C), grid Sketch the plot below. Fill in the scale values on the y-axis. Estimate from the plot the radius r resulting in minimum cost. rrL (for minimum cost) Use MATLAB's min function below to verify minimum cost observed on the graph. min(C) ans (minimum cost) over
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
