ANSWER:
(here pi = 3.14)
Volume of cylinder V = pi*r*r*h =0.5 litre =0.0005 m-3 ...(1)
Surface Area of cylinder S = 2*pi*r*r + 2*pi*r*h.......(2)
Essentially we are minimising the surface area of the cylinder
Eliminating h,
from (1) we have h = 0.0005 /p*r*r
Using this in (2) we have S = 2*pi*r*r + 2*pi*r*(0.005/pi*r*r) = 2*pi*r*r + 0.001/r
1) to minimize we can solve for derivative of zero d/dr(2*pi*r*r + 0.001/r) = 0 gives r=0.00795775 m
2) to minimze using golden section search use MATLAB,Mathematica,Maple etc
Code for Matlab below
file f function y=f(r)
% modify this - write your own function!
y=2*pi*r*r + 0.001/r;
file:golden.m
figure; hold on;
a=0; % start of interval
b=2; % end of interval
epsilon=0.000001; % accuracy value
iter= 50; % maximum number of iterations
tau=double((sqrt(5)-1)/2); % golden proportion coefficient, around 0.618
k=0; % number of iterations
x1=a+(1-tau)*(b-a); % computing x values
x2=a+tau*(b-a);
f_x1=f(x1); % computing values in x points
f_x2=f(x2);
plot(x1,f_x1,'rx') % plotting x
plot(x2,f_x2,'rx')
while ((abs(b-a)>epsilon) && (k<iter))
k=k+1;
if(f_x1<f_x2)
b=x2;
x2=x1;
x1=a+(1-tau)*(b-a);
f_x1=f(x1);
f_x2=f(x2);
plot(x1,f_x1,'rx');
else
a=x1;
x1=x2;
x2=a+tau*(b-a);
f_x1=f(x1);
f_x2=f(x2);
plot(x2,f_x2,'rx')
end
k=k+1;
end
% chooses minimum point
if(f_x1<f_x2)
sprintf('x_min=%f', x1)
sprintf('f(x_min)=%f ', f_x1)
plot(x1,f_x1,'ro')
else
sprintf('x_min=%f', x2)
sprintf('f(x_min)=%f ', f_x2)
plot(x2,f_x2,'ro')
end
Numerical methods question, I need help with the script For each problem, hardcopy of step-by-step solution...
i need help with part b please -а ses lome Score: 0.86 of 1 pt 12 of 14 (12 completa Question Help o 4.5.35 a Find the radius and height of a cylindrical soda can with a volume of 322 cm' that minimize the surface area. b. Compare your answer in part (a) to a real soda can, which has a volume of 322 cm'. a radius of 3.1 cm, and a height of 109 cm, to conclude that real...
Matlab & Differential Equations Help Needed I need help with this Matlab project for differential equations. I've got 0 experience with Matlab other than a much easier project I did in another class a few semesters ago. All we've been given is this piece of paper and some sample code. I don't even know how to begin to approach this. I don't know how to use Matlab at all and I barely can do this material. Here's the handout: Here's...
i need your help for that question to solve step 1 to 8 QUESTION 1 Step 1 You work for Thunderduck Custom Tables Inc. This is the first month of operations. The company designs and manufactures specialty tables. Each table is specially customized for the customer. This month, you have been asked to develop and manufacture two new tables for customers. You will design and build the tables. This is a no nail, no screw, and no glue manufacturing (...
this my question and i only need help with step 4,5,6,7,8 and thats it. Step 1 You work for Thunderduck Custom Tables Inc. This is the first month of operations. The company designs and manufactures specialty tables. Each table is specially customized for the customer. This month, you have been asked to develop and manufacture two new tables for customers. You will design and build the tables. This is a no nail, no screw, and no glue manufacturing (no indirect...
This is my question but i only need help with step 5 and 6,7,8 and that's all. Step 1 You work for Thunderduck Custom Tables Inc. This is the first month of operations. The company designs and manufactures specialty tables. Each table is specially customized for the customer. This month, you have been asked to develop and manufacture two new tables for customers. You will design and build the tables. This is a no nail, no screw, and no glue...
i need your help of that question to solve step 4,5,6,7,& 8 that,s all QUESTION 1 Step 1 You work for Thunderduck Custom Tables Inc. This is the first month of operations. The company designs and manufactures specialty tables. Each table is specially customized for the customer. This month, you have been asked to develop and manufacture two new tables for customers. You will design and build the tables. This is a no nail, no screw, and no glue manufacturing...
write MATLAB scripts to solve differential equations. Computing 1: ELE1053 Project 3E:Solving Differential Equations Project Principle Objective: Write MATLAB scripts to solve differential equations. Implementation: MatLab is an ideal environment for solving differential equations. Differential equations are a vital tool used by engineers to model, study and make predictions about the behavior of complex systems. It not only allows you to solve complex equations and systems of equations it also allows you to easily present the solutions in graphical form....
Pls I need help on this question because tomorrow is the deadline.. WRITTEN ASSIGNMENT 3D PrintHub Ltd, is a one stop shop for 3D prints and consumables in Southern Africa. The following is an extract of the trial balance of 3D PrintHub Ltd at 30 June 2019: Additional Drl(Cr) R information Revenue (2 050 000) Cost of sales 1 150 000 Administration building at cost 1 200 000 1.1 31 1.1 1.2 Accumulated depreciation of administration building (120 000) Equipment:...
i need help with a mips program to to covert roman numerals to real numbers Lab 4: Roman Numeral Conversion Part A: Due Sunday, 19 May 2019, 11:59 PM Due Friday, 24 May 2019, 11:59 PM Part B: Minimum Submission Requirements Ensure that your Lab4 folder contains the following files (note the capitalization convention): o Diagram.pdf o Lab4. asm O README.txt Commit and push your repository Lab Objective In this lab, you will develop a more detailed understanding of how...
i uploaded everything that was given. Where would I find the experiemental values? Complete the calculation summary below. READ THE EXPERIMENTAL DISCUSSION FIRST! REPORT ALL ANSWERS TO THE CORRECT SIGNIFICANT FIGURES. SHOW CALCULATION SET-UP on the next page. PART B: Molarity Determination via Solution Stoichiometry 7.625 g Mass of Empty 50 mL Beaker 7.976 g Mass of Beaker and NaCl (final heating) Mass of NaCl Produced (Experimental Yield of NaCl) moles Moles of Na,CO, Consumed 0.00500 Liter Volume of Na,CO,...