Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Carson Witt

2061 views
1
\documentclass{article}
2
3
% set font encoding for PDFLaTeX or XeLaTeX
4
\usepackage{ifxetex}
5
\ifxetex
6
\usepackage{fontspec}
7
\else
8
\usepackage[T1]{fontenc}
9
\usepackage[utf8]{inputenc}
10
\usepackage{lmodern}
11
\usepackage{pgfplots}
12
\usepgfplotslibrary{polar}
13
\usepgflibrary{shapes.geometric}
14
\usetikzlibrary{calc}
15
\fi
16
17
% used in maketitle
18
\title{Optimization}
19
\author{Carson Witt}
20
21
% Enable SageTeX to run SageMath code right inside this LaTeX file.
22
% documentation: http://mirrors.ctan.org/macros/latex/contrib/sagetex/sagetexpackage.pdf
23
% \usepackage{sagetex}
24
25
\begin{document}
26
\maketitle
27
28
\section*{Abstract}
29
30
\noindent{\textbf{History of Cylinders and The 55-gallon Tight Head Steel Drum}} \par
31
32
\vspace{0.2cm}{Circular cylinders have been used for hundreds of years as storage for transportation. Originally made out of wood, these cylinders held solid and liquid goods, such as oil. In 1900, the world had an increasing demand for oil, and drilling was taking place all over the world. But these wooden barrels were not a good mode of transportation for oil. There was a need for manageable-sized, durable, and leak-proof barrels.} \par
33
34
Elizabeth J. Cochran Seaman, A.K.A Nellie Bly, manufactured the first 55-gallon steel drum and patented her design in 1905. This design is actually the same model that we use today. \par
35
36
The use of these 55-gallon steel drums became widespread during World War II, where The Navy used these drums to store gasoline for its air crafts. \par
37
38
\vspace{0.2cm}{\noindent{\textbf{But, There Is a Problem...}}} \par
39
40
\vspace{0.2cm}{Though Bly's steel drum design was amazing and innovative for its time, it is actually not the most optimal cost effective design. This report will show that Bly's steel drum design does not meet the optimal requirements for reducing the manufacturing cost.} \par
41
42
\vspace{0.2cm}{\noindent{\textbf{How Do We Solve this Problem? With Optimization}}} \par
43
44
\vspace{0.2cm}{Optimization is the process of finding the maximum or minimum value of a function for some constraint, which has to be true regardless of the solution. In other words, we will be using Optimization to maximize the cost efficiency of the steel drum.} \par
45
46
To conduct this kind of Optimization problem, we must first recognize that there are two unknowns. So, we will end up creating two equations with two unknowns, one will be a constraint (in this case, cost) function and one will be a volume function. We will write a cost equation and write it in terms of a single variable. Then we will plug in that variable into the volume equation, take the derivative of that volume equation to find critical points, and finally plug in the critical values into the second derivative to determine if it is a maximum, minimum , or neither. \par
47
48
\vspace{0.2cm}{\noindent{\textbf{The Project}}} \par
49
50
\vspace{0.2cm}{As well as proving that the dimensions of the 55-gallon Tight Head Steel Drum are not the best dimensions to minimize costs, a simpler cylinder optimization problem will be explained and solved to get the reader comfortable and familiarized with the optimization process.} \par
51
52
\section*{Context/Work}
53
54
\begin{center}
55
\textbf{Initial Cylinder Optimization Problem}
56
\end{center}
57
58
To get comfortable with optimization, we were asked to solve the following cylinder optimization problem:
59
60
\begin{quote}
61
A closed right circular cylinder (i.e. top and bottom included) has a surface area of 100 square centimeters. What should the radius and height be in order to provide the largest possible volume? Find the result if the surface area is $S$ square centimeters.
62
\end{quote}
63
64
\noindent Below is a diagram to help you visualize the problem:
65
66
\begin{center}
67
\begin{tikzpicture}
68
\node [draw, cylinder, shape aspect=2, rotate=90, minimum height=4cm,
69
minimum width=3cm] (c) {};
70
\coordinate(htop) at ($(c.before top)!-1*.1!(c.after top)$);
71
\coordinate(hbot) at ($(c.after bottom)!-1*.1!(c.before bottom)$);
72
\coordinate(hlab) at ($(htop)!.5!(hbot)+(c.north)!.9! (c.center)$);
73
\draw[<->] (hbot)--(htop);
74
\path (hlab) node {$h$}; %Modify height label here
75
\coordinate (center) at ($(c.before top)!0.5!(c.after top)$);
76
\coordinate (rlab) at ($(center) !0.5!(c.after top)$);
77
\coordinate (rtop) at ($(center)!-1*.1!(c.after top)$);
78
\draw[<->] (rtop) -- (c.after top);
79
\path (rlab) node[above] {$r$}; %Modify radius label here
80
\end{tikzpicture}
81
\end{center}
82
83
To begin, we will be using the surface area and volume equations shown below to solve for the height and radius that will provide the largest possible volume:
84
85
$$
86
SA = 2(\pi r^2) + 2 \pi rh = 100
87
$$
88
$$
89
V = \pi r^2 h
90
$$
91
92
\newpage
93
94
In order to continue, we must solve the surface area equation for one variable. In this case, I chose to solve for $h$:
95
96
$$
97
2(\pi r^2) + 2 \pi rh = 100
98
$$
99
$$
100
2(\pi r^2) -100 = -2 \pi rh
101
$$
102
$$
103
\frac{2(\pi r^2) -100}{-2 \pi r} = h
104
$$
105
$$
106
\frac{2(\pi r^2)}{-2 \pi r} - \frac{100}{-2 \pi r} = h
107
$$
108
$$
109
\frac{100}{2 \pi r} - r = h
110
$$
111
$$
112
h = \frac{50}{\pi r} - r
113
$$
114
$$
115
V = 50r - 3 \pi r^2
116
$$
117
118
Now, we plug $h$ into the volume equation, giving us volume in terms of $r$ only:
119
120
$$
121
V = \pi r^2 h
122
$$
123
$$
124
V = \pi r^2 (\frac{50}{\pi r} - r)
125
$$
126
$$
127
V = 50r - 3 \pi r^3
128
$$
129
130
Now, we must take the first derivative, $\frac{dV}{dr}$, to find the critical points, which will then allow us to determine the maximum/minimum height and radius after taking the second derivative, $\frac{d^2 V}{dr^2}$:
131
132
$$
133
\frac{dV}{dr} = 50 - 3 \pi r^2
134
$$
135
$$
136
0 = 50 - 3 \pi r^2
137
$$
138
$$
139
3 \pi r^2 = 50
140
$$
141
$$
142
r^2 = \frac{50}{3 \pi}
143
$$
144
$$
145
r = \pm \sqrt{\frac{50}{3 \pi}}
146
$$
147
148
We will only use the positive value of $r$, since a radius cannot be negative:
149
150
$$
151
r = \sqrt{\frac{50}{3 \pi}}
152
$$
153
154
\newpage
155
156
Now, we can take the second derivative of the volume equation to confirm if it has a maximum or minimum:
157
158
$$
159
\frac{d^2 V}{dr^2} = -6 \pi r
160
$$
161
162
If we plug in $r$ for $\frac{d^2 V}{dr^2}$, it will produce a negative value, confirming that the function is concave down and therefore has a maximum volume at $r = \sqrt{\frac{50}{3 \pi}}$. \par
163
164
Now that we have found $r$, we can plug it into the surface area equation to obtain the optimal height:
165
166
$$
167
SA = 2(\pi r^2) + 2 \pi rh = 100
168
$$
169
$$
170
2(\pi r^2) + 2 \pi rh = 100
171
$$
172
$$
173
2 \pi (\sqrt{\frac{50}{3 \pi}})^2 + 2 \pi (\sqrt{\frac{50}{3 \pi}})h = 100
174
$$
175
$$
176
2 \pi \cdot \frac{50}{3 \pi} - 100 = -2 \pi (\sqrt{\frac{50}{3 \pi}})h
177
$$
178
$$
179
\frac{100}{3} - 100 = -2 \pi (\sqrt{\frac{50}{3 \pi}})h
180
$$
181
$$
182
h = \frac{\frac{100}{3} - 100}{-2 \pi (\sqrt{\frac{50}{3 \pi}})}
183
$$
184
185
So, the optimal dimensions for this cylinder are:
186
\begin{itemize}
187
\item radius: $\sqrt{\frac{50}{3 \pi}}$ \\
188
\item height: $\frac{\frac{100}{3} - 100}{-2 \pi (\sqrt{\frac{50}{3 \pi}})}$
189
\end{itemize}
190
191
To find the same result if the surface area is S centimeters, we must remember that S and $100$ are the same element of the equation and are interchangeable if we replace $100$ with S using the un-simplified (meaning that you don't divide by $2$ and reduce $100$ to $50$) versions of the two equations, or $\frac{\frac{100}{3} - 100}{-2 \pi (\sqrt{\frac{100}{6 \pi}})}$ and $\sqrt{\frac{100}{6 \pi}}$. \par
192
193
So, the optimal dimensions for this cylinder with a surface area of S are:
194
\begin{itemize}
195
\item radius: $\sqrt{\frac{S}{6 \pi}}$ \\
196
\item height: $\frac{\frac{S}{3} - S}{-2 \pi (\sqrt{\frac{S}{6 \pi}})}$
197
\end{itemize}
198
199
\newpage
200
201
\begin{center}
202
\textbf{The 55-gallon Tight Head Steel Drum Problem} \par
203
204
The specification diagram from The American National Standards Institute (ANSI) document is given below:
205
\end{center}
206
207
208
\begin{center}
209
\begin{tikzpicture}[scale=0.2]
210
% the sides
211
\draw (0,0) -- (0,34);
212
\draw (1,33) -- (22,33);
213
\draw (23,34) -- (23,0);
214
\draw (22,1) -- (1,1);
215
\draw[dotted] (0,34) -- (23,34);
216
\draw[dotted] (0,0) -- (23,0);
217
218
% the offset top and bottom curves
219
\draw (0,34) .. controls (0.5,33) and (0,33) .. (1,33) ;
220
\draw (22,33) .. controls (23,33) and (22.5,33) .. (23,34);
221
\draw (23,0) .. controls (22.5,1) and (23,1) .. (22,1);
222
\draw (1,1) .. controls (0,1) and (0.5,1) .. (0,0);
223
224
% the dimensions
225
\draw[<->] (0,17) -- (23,17);
226
\node[font=\tiny,fill=white] at (11.5,17) {$22\frac{1}{2}$ inches};
227
228
\draw[<->] (30,0) -- (30,34);
229
\node[font=\tiny,fill=white] at (30,17) {$34\frac{3}{8}$ inches};
230
\draw (25,0) -- (35,0);
231
\draw (25,34) -- (35,34);
232
233
\draw[->] (11.5,3) -- (11.5,1);
234
\draw[->] (11.5,-1) -- (11.5,0);
235
\draw[->] (11.5,35) -- (11.5,34);
236
\draw[->] (11.5,31) -- (11.5,33);
237
\draw (11.5,3) -- (12.5,3);
238
\draw (11.5,31) -- (12.5,31);
239
\node[font=\tiny] at (15,31) {$\frac{5}{8}$ inches};
240
\node[font=\tiny] at (15,3) {$\frac{5}{8}$ inches};
241
242
\end{tikzpicture}
243
\end{center}
244
245
\noindent{\textbf{Cost and Material Parameters and Specifications to Account For:}} \par
246
247
\begin{itemize}
248
\item 18 gauge steel is 45 cents per square foot ($\frac{45}{144}$ cents per square inch)
249
\item 20 gauge steel is 45 cents per square foot ($\frac{34}{144}$ cents per square inch)
250
\item Welding and pressing/sealing cost is 10 cents per foot ($\frac{10}{12}$ cents per inch)
251
\item Cutting steel costs 2 cents per foot ($\frac{2}{12}$ cetns per inch)
252
\end{itemize}
253
254
\noindent{\textbf{Other Parameters and Specifications:}} \par
255
256
\begin{itemize}
257
\item The vertical seam on the cylinder is welded together
258
\item The top and bottom are attached by a pressing/sealing machine. The pressing/sealing process requires approximately $\frac{13}{16}$ inches from the cylinder and $\frac{3}{4}$ inches from the disk to be curled together. Hence, these inches are lost in the final dimensions
259
\item The top and bottom are set down $\frac{5}{8}$ inches into the cylinder.
260
\end{itemize}
261
262
\newpage
263
264
\noindent{\textbf{Work:}} \par
265
266
Some equations and variables must first be defined before solving this problem. In this problem, $h$ will be the height that contributes to the volume of the drum and $r$ will be the radius of the circle that contributes to the volume of the drum. \par
267
268
\begin{itemize}
269
\item Area of the circle (top/bottom) that contributes to the volume: $\pi r^2$
270
\item Area of the circle that must be used: $\pi (r + \frac{5}{8})^2$
271
\item Area of the sheet that must be bought per circle: $[2(r + \frac{5}{8})]^2$
272
\item Area of the cylinder (using the rectangular sheet): $2 \pi r \cdot A = (h + \frac{13}{8})$
273
\item Vertical seam of the cylinder: $h + \frac{13}{8}$
274
\item Circumference of each circle: $2 \pi (r + \frac{5}{8})$
275
\item Volume of the drum:
276
\end{itemize}
277
278
\begin{center}
279
$V = 55$ gallons $\cdot \frac{231 in^3}{1 gallon} = \pi r^2 h$ \par
280
\end{center}
281
282
$$
283
\pi r^2 h = 12705
284
$$
285
$$
286
h = \frac{12705}{\pi r^2 h}
287
$$
288
289
Now, we can create a cost function: \par
290
291
$$
292
C = \frac{34}{144} [2 \pi r(h + \frac{13}{8})] + \frac{45}{144} \cdot 2[2(r + \frac{5}{8})]^2 + \frac{10}{12} [2 \cdot 2 \pi(r + \frac{5}{8})] + \frac{2}{12} [2 \cdot 2 \pi(r + \frac{5}{8})] + \frac{10}{12} (h + \frac{13}{8})
293
$$
294
295
Which can be simplified to: \par
296
297
$$
298
C = \frac{17 \pi r}{36} (h + \frac{13}{8}) + \frac{5}{2}(r + \frac{5}{8})^2 + 4 \pi (r + \frac{5}{8}) + \frac{5}{6} (h + \frac{13}{8})
299
$$
300
301
Now we can substitute $\frac{12705}{\pi r^2}$ for $h$ and can define $C$ in terms of $r$: \par
302
303
$$
304
C = \frac{17 \pi r}{36} (\frac{12705}{\pi r^2} + \frac{13}{8}) + \frac{5}{2}(r + \frac{5}{8})^2 + 4 \pi (r + \frac{5}{8}) + \frac{5}{6} (\frac{12705}{\pi r^2} + \frac{13}{8})
305
$$
306
307
Which can be simplified to: \par
308
309
$$
310
C = \frac{5}{2} r^2 + \frac{221 \pi}{288} r + \frac{25}{8} r + 4 \pi r + \frac{4235 \cdot 17}{12r} + \frac{4235 \cdot 5}{2 \pi r^2} + \frac{125}{128} + \frac{65}{48} + \frac{20 \pi}{8}
311
$$
312
313
\newpage
314
315
To continue, we must take $\frac{dC}{dr}$ and set it to zero to find the critical points. We must also take the second derivative to determine which critical point is a maximum: \par
316
317
$$
318
\frac{dC}{dr} = 5r + \frac{1373 \pi}{288} + \frac{25}{8} - \frac{4235 \cdot 17}{12r^2} - \frac{4235 \cdot 5}{\pi r^3}
319
$$
320
$$
321
\frac{d^2 C}{dr^2} = \frac{4235 \cdot 17}{6r^3} + \frac{3 \cdot 4235 \cdot 5}{\pi r^4}
322
$$
323
324
The critical points of $\frac{dC}{dr}$ are at $r = -1.126, 0,$ and $9.929$. By plugging these numbers into $\frac{d^2C}{dr^2}$, the minimum cost is found to be achieved at $r = 9.929$ inches. We can then plug $r$ into the original function to find $h$: \par
325
326
$$
327
h = \frac{12705}{\pi r^2}
328
$$
329
$$
330
h = \frac{12705}{\pi (9.929)^2}
331
$$
332
$$
333
h = 41.02
334
$$
335
336
But due to the way the variables are defined, the height of the optimal cylinder is actually $h + \cdot \frac{5}{8} = 41.02 + \cdot \frac{5}{8} = 42.27$ inches. \par
337
338
\vspace{0.2cm}{\noindent{So, the optimal dimensions of the cylinder are:}} \par
339
340
\begin{itemize}
341
\item $r = 9.929$ inches
342
\item $h = 42.27$ inches
343
\end{itemize}
344
345
\noindent{However, the actual dimensions of the 55-gallon Tight Head Steel Drum are:} \par
346
347
\begin{itemize}
348
\item $r = 12$ inches
349
\item $h = 35$ inches
350
\end{itemize}
351
352
\noindent{As you can see, the actual dimensions of the 55-gallon Tight Head Steel Drum are not the most cost effective.} \par
353
354
\section*{Conclusion}
355
356
This has been the most difficult project for me to solve all year. I got stumped many times and often got frustrated with the problem. It took a lot of peer collaboration and discussion to finally figure out the solution. While the initial cylinder surface area problem was not too difficult, the cost parameter and dimensions of the 55-gallon Tight Head Steel Drum made the problem very confusing. I found keeping track of all the specifications and dimensions to be very difficult for me. \par
357
I honestly don't think that I could have done this project alone. I collaborated with many people to get a final answer. However, the collaboration was very effective and I enjoyed hearing other people's ideas, answers, and opinions. \par
358
359
\vspace{0.2cm}{\noindent{\textbf{People I Collaborated With}}} \par
360
361
\begin{itemize}
362
\item Hector Cantu
363
\item Vicki Curtin
364
\item Fletcher Barnhill
365
\item Jackie Smith
366
\end{itemize}
367
368
\end{document}
369
370