Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Carson Witt

2061 views
1
\documentclass[landscape]{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:
23
% http://mirrors.ctan.org/macros/latex/contrib/sagetex/sagetexpackage.pdf
24
% \usepackage{sagetex}
25
26
27
%% ADDED PREAMBLE
28
\usepackage{todonotes}
29
\usepackage[displaymath, mathlines]{lineno}
30
\usepackage{hyperref}
31
\usepackage{pagecolor}
32
\usepackage{tabularx}
33
34
\newcommand{\sg}[1]{\todo[color=red!40,fancyline]{#1}}
35
\newcommand{\good}[1]{\todo[color=blue!40,fancyline]{#1}}
36
\newcommand{\comm}[1]{\todo[color=orange!40,fancyline]{#1}}
37
%%
38
39
40
\begin{document}
41
42
%% ADDED FEEDBACK
43
\pagecolor{yellow!30!white}
44
\mbox{\LARGE Optimization }\hfill Carson Witt
45
46
\vspace{1cm}
47
48
\hrule
49
50
\vspace{1cm}
51
52
Grade: 100
53
54
\vspace{1cm}
55
56
\begin{tabularx}{15cm}{ |p{6cm} | p{8cm}|}
57
\hline
58
Approriate Introduction &
59
Great intro with the leading questions to help the reader along. I like
60
how you used LaTeX formatting to help with this part.
61
\\
62
\hline
63
Explanation of calculating the cost &
64
Good job here breaking the cost into pieces, although some of those
65
pieces did look a little long...
66
\\
67
\hline
68
Constraints required for optimization &
69
Yes.
70
\\
71
\hline
72
Finding the optimum dimensions for least cost &
73
Yes.
74
\\
75
\hline
76
Reflections of how ANSI compares &
77
Interesting that you thought you wouldn't have been able to do this alone.
78
I think you would have been able to figure it out. Talking with others
79
can always provide interesting insights, but that doesn't necessarily
80
mean you wouldn't be able to find an answer alone.
81
\\
82
\hline
83
Proper formatting &
84
Yes. Good job learning LaTeX this year!
85
\\
86
\hline
87
\end{tabularx}
88
89
\newpage
90
91
\listoftodos[List of Comments]
92
93
\newpage
94
95
\maketitle
96
97
\linenumbers
98
\pagecolor{white}
99
%%
100
101
102
103
\section*{Abstract}
104
105
\noindent{\textbf{History of Cylinders and The 55-gallon Tight Head Steel Drum}}
106
\par
107
108
\vspace{0.2cm}{Circular cylinders have been used for hundreds of years as
109
storage for transportation. Originally made out of wood, these cylinders held
110
solid and liquid goods, such as oil. In 1900, the world had an increasing demand
111
for oil, and drilling was taking place all over the world. But these wooden
112
barrels were not a good mode of transportation for oil. There was a need for
113
manageable-sized, durable, and leak-proof barrels.} \par
114
115
Elizabeth J. Cochran Seaman, A.K.A Nellie Bly, manufactured the first 55-gallon
116
steel drum and patented her design in 1905. This design is actually the same
117
model that we use today. \par
118
119
The use of these 55-gallon steel drums became widespread during World War II,
120
where The Navy used these drums to store gasoline for its air crafts. \par
121
122
\vspace{0.2cm}{\noindent{\textbf{But, There Is a Problem...}}} \par
123
124
\vspace{0.2cm}{Though Bly's steel drum design was amazing and innovative for its
125
time, it is actually not the most optimal cost effective design. This report
126
will show that Bly's steel drum design does not meet the optimal requirements
127
for reducing the manufacturing cost.} \par
128
129
\vspace{0.2cm}{\noindent{\textbf{How Do We Solve this Problem? With
130
Optimization}}} \par
131
132
\vspace{0.2cm}{Optimization is the process of finding the maximum or minimum
133
value of a function for some constraint, which has to be true regardless of the
134
solution. In other words, we will be using Optimization to maximize the cost
135
efficiency of the steel drum.} \par
136
137
To conduct this kind of Optimization problem, we must first recognize that there
138
are two unknowns. So, we will end up creating two equations with two unknowns,
139
one will be a constraint (in this case, cost) function and one will be a volume
140
function. We will write a cost equation and write it in terms of a single
141
variable. Then we will plug in that variable into the volume equation, take the
142
derivative of that volume equation to find critical points, and finally plug in
143
the critical values into the second derivative to determine if it is a maximum,
144
minimum , or neither. \par
145
146
\vspace{0.2cm}{\noindent{\textbf{The Project}}} \par
147
148
\vspace{0.2cm}{As well as proving that the dimensions of the 55-gallon Tight
149
Head Steel Drum are not the best dimensions to minimize costs, a simpler
150
cylinder optimization problem will be explained and solved to get the reader
151
comfortable and familiarized with the optimization process.} \par
152
153
\section*{Context/Work}
154
155
\begin{center}
156
\textbf{Initial Cylinder Optimization Problem}
157
\end{center}
158
159
To get comfortable with optimization, we were asked to solve the following
160
cylinder optimization problem:
161
162
\begin{quote}
163
A closed right circular cylinder (i.e. top and bottom included) has a surface
164
area of 100 square centimeters. What should the radius and height be in order to
165
provide the largest possible volume? Find the result if the surface area is $S$
166
square centimeters.
167
\end{quote}
168
169
\noindent Below is a diagram to help you visualize the problem:
170
171
\begin{center}
172
\begin{tikzpicture}
173
\node [draw, cylinder, shape aspect=2, rotate=90, minimum height=4cm,
174
minimum width=3cm] (c) {};
175
\coordinate(htop) at ($(c.before top)!-1*.1!(c.after top)$);
176
\coordinate(hbot) at ($(c.after bottom)!-1*.1!(c.before bottom)$);
177
\coordinate(hlab) at ($(htop)!.5!(hbot)+(c.north)!.9!
178
(c.center)$);
179
\draw[<->] (hbot)--(htop);
180
\path (hlab) node {$h$}; %Modify height label here
181
\coordinate (center) at ($(c.before top)!0.5!(c.after top)$);
182
\coordinate (rlab) at ($(center) !0.5!(c.after top)$);
183
\coordinate (rtop) at ($(center)!-1*.1!(c.after top)$);
184
\draw[<->] (rtop) -- (c.after top);
185
\path (rlab) node[above] {$r$}; %Modify radius label here
186
\end{tikzpicture}
187
\end{center}
188
189
To begin, we will be using the surface area and volume equations shown below to
190
solve for the height and radius that will provide the largest possible volume:
191
192
$$
193
SA = 2(\pi r^2) + 2 \pi rh = 100
194
$$
195
$$
196
V = \pi r^2 h
197
$$
198
199
\newpage
200
201
In order to continue, we must solve the surface area equation for one variable.
202
In this case, I chose to solve for $h$:
203
204
$$
205
2(\pi r^2) + 2 \pi rh = 100
206
$$
207
$$
208
2(\pi r^2) -100 = -2 \pi rh
209
$$
210
$$
211
\frac{2(\pi r^2) -100}{-2 \pi r} = h
212
$$
213
$$
214
\frac{2(\pi r^2)}{-2 \pi r} - \frac{100}{-2 \pi r} = h
215
$$
216
$$
217
\frac{100}{2 \pi r} - r = h
218
$$
219
$$
220
h = \frac{50}{\pi r} - r
221
$$
222
$$
223
V = 50r - 3 \pi r^2
224
$$
225
226
Now, we plug $h$ into the volume equation, giving us volume in terms of $r$
227
only:
228
229
$$
230
V = \pi r^2 h
231
$$
232
$$
233
V = \pi r^2 (\frac{50}{\pi r} - r)
234
$$
235
$$
236
V = 50r - 3 \pi r^3
237
$$
238
239
Now, we must take the first derivative, $\frac{dV}{dr}$, to find the critical
240
points, which will then allow us to determine the maximum/minimum height and
241
radius after taking the second derivative, $\frac{d^2 V}{dr^2}$:
242
243
$$
244
\frac{dV}{dr} = 50 - 3 \pi r^2
245
$$
246
$$
247
0 = 50 - 3 \pi r^2
248
$$
249
$$
250
3 \pi r^2 = 50
251
$$
252
$$
253
r^2 = \frac{50}{3 \pi}
254
$$
255
$$
256
r = \pm \sqrt{\frac{50}{3 \pi}}
257
$$
258
259
We will only use the positive value of $r$, since a radius cannot be negative:
260
261
$$
262
r = \sqrt{\frac{50}{3 \pi}}
263
$$
264
265
\newpage
266
267
Now, we can take the second derivative of the volume equation to confirm if it
268
has a maximum or minimum:
269
270
$$
271
\frac{d^2 V}{dr^2} = -6 \pi r
272
$$
273
274
If we plug in $r$ for $\frac{d^2 V}{dr^2}$, it will produce a negative value,
275
confirming that the function is concave down and therefore has a maximum volume
276
at $r = \sqrt{\frac{50}{3 \pi}}$. \par
277
278
Now that we have found $r$, we can plug it into the surface area equation to
279
obtain the optimal height:
280
281
$$
282
SA = 2(\pi r^2) + 2 \pi rh = 100
283
$$
284
$$
285
2(\pi r^2) + 2 \pi rh = 100
286
$$
287
$$
288
2 \pi (\sqrt{\frac{50}{3 \pi}})^2 + 2 \pi (\sqrt{\frac{50}{3 \pi}})h = 100
289
$$
290
$$
291
2 \pi \cdot \frac{50}{3 \pi} - 100 = -2 \pi (\sqrt{\frac{50}{3 \pi}})h
292
$$
293
$$
294
\frac{100}{3} - 100 = -2 \pi (\sqrt{\frac{50}{3 \pi}})h
295
$$
296
$$
297
h = \frac{\frac{100}{3} - 100}{-2 \pi (\sqrt{\frac{50}{3 \pi}})}
298
$$
299
300
So, the optimal dimensions for this cylinder are:
301
\begin{itemize}
302
\item radius: $\sqrt{\frac{50}{3 \pi}}$ \\
303
\item height: $\frac{\frac{100}{3} - 100}{-2 \pi (\sqrt{\frac{50}{3 \pi}})}$
304
\end{itemize}
305
306
To find the same result if the surface area is S centimeters, we must remember
307
that S and $100$ are the same element of the equation and are interchangeable if
308
we replace $100$ with S using the un-simplified (meaning that you don't divide
309
by $2$ and reduce $100$ to $50$) versions of the two equations, or
310
$\frac{\frac{100}{3} - 100}{-2 \pi (\sqrt{\frac{100}{6 \pi}})}$ and
311
$\sqrt{\frac{100}{6 \pi}}$. \par
312
313
So, the optimal dimensions for this cylinder with a surface area of S are:
314
\begin{itemize}
315
\item radius: $\sqrt{\frac{S}{6 \pi}}$ \\
316
\item height: $\frac{\frac{S}{3} - S}{-2 \pi (\sqrt{\frac{S}{6 \pi}})}$
317
\end{itemize}
318
319
\newpage
320
321
\begin{center}
322
\textbf{The 55-gallon Tight Head Steel Drum Problem} \par
323
324
The specification diagram from The American National Standards Institute (ANSI)
325
document is given below:
326
\end{center}
327
328
329
\begin{center}
330
\begin{tikzpicture}[scale=0.2]
331
% the sides
332
\draw (0,0) -- (0,34);
333
\draw (1,33) -- (22,33);
334
\draw (23,34) -- (23,0);
335
\draw (22,1) -- (1,1);
336
\draw[dotted] (0,34) -- (23,34);
337
\draw[dotted] (0,0) -- (23,0);
338
339
% the offset top and bottom curves
340
\draw (0,34) .. controls (0.5,33) and (0,33) .. (1,33) ;
341
\draw (22,33) .. controls (23,33) and (22.5,33) .. (23,34);
342
\draw (23,0) .. controls (22.5,1) and (23,1) .. (22,1);
343
\draw (1,1) .. controls (0,1) and (0.5,1) .. (0,0);
344
345
% the dimensions
346
\draw[<->] (0,17) -- (23,17);
347
\node[font=\tiny,fill=white] at (11.5,17) {$22\frac{1}{2}$ inches};
348
349
\draw[<->] (30,0) -- (30,34);
350
\node[font=\tiny,fill=white] at (30,17) {$34\frac{3}{8}$ inches};
351
\draw (25,0) -- (35,0);
352
\draw (25,34) -- (35,34);
353
354
\draw[->] (11.5,3) -- (11.5,1);
355
\draw[->] (11.5,-1) -- (11.5,0);
356
\draw[->] (11.5,35) -- (11.5,34);
357
\draw[->] (11.5,31) -- (11.5,33);
358
\draw (11.5,3) -- (12.5,3);
359
\draw (11.5,31) -- (12.5,31);
360
\node[font=\tiny] at (15,31) {$\frac{5}{8}$ inches};
361
\node[font=\tiny] at (15,3) {$\frac{5}{8}$ inches};
362
363
\end{tikzpicture}
364
\end{center}
365
366
\noindent{\textbf{Cost and Material Parameters and Specifications to Account
367
For:}} \par
368
369
\begin{itemize}
370
\item 18 gauge steel is 45 cents per square foot ($\frac{45}{144}$ cents per
371
square inch)
372
\item 20 gauge steel is 45 cents per square foot ($\frac{34}{144}$ cents per
373
square inch)
374
\item Welding and pressing/sealing cost is 10 cents per foot ($\frac{10}{12}$
375
cents per inch)
376
\item Cutting steel costs 2 cents per foot ($\frac{2}{12}$ cetns per inch)
377
\end{itemize}
378
379
\noindent{\textbf{Other Parameters and Specifications:}} \par
380
381
\begin{itemize}
382
\item The vertical seam on the cylinder is welded together
383
\item The top and bottom are attached by a pressing/sealing machine. The
384
pressing/sealing process requires approximately $\frac{13}{16}$ inches from the
385
cylinder and $\frac{3}{4}$ inches from the disk to be curled together. Hence,
386
these inches are lost in the final dimensions
387
\item The top and bottom are set down $\frac{5}{8}$ inches into the cylinder.
388
\end{itemize}
389
390
\newpage
391
392
\noindent{\textbf{Work:}} \par
393
394
Some equations and variables must first be defined before solving this problem.
395
In this problem, $h$ will be the height that contributes to the volume of the
396
drum and $r$ will be the radius of the circle that contributes to the volume of
397
the drum. \par
398
399
\begin{itemize}
400
\item Area of the circle (top/bottom) that contributes to the volume: $\pi r^2$
401
\item Area of the circle that must be used: $\pi (r + \frac{5}{8})^2$
402
\item Area of the sheet that must be bought per circle: $[2(r + \frac{5}{8})]^2$
403
\item Area of the cylinder (using the rectangular sheet): $2 \pi r \cdot A = (h
404
+ \frac{13}{8})$
405
\item Vertical seam of the cylinder: $h + \frac{13}{8}$
406
\item Circumference of each circle: $2 \pi (r + \frac{5}{8})$
407
\item Volume of the drum:
408
\end{itemize}
409
410
\begin{center}
411
$V = 55$ gallons $\cdot \frac{231 in^3}{1 gallon} = \pi r^2 h$ \par
412
\end{center}
413
414
$$
415
\pi r^2 h = 12705
416
$$
417
$$
418
h = \frac{12705}{\pi r^2 h}
419
$$
420
421
Now, we can create a cost function: \par
422
423
$$
424
C = \frac{34}{144} [2 \pi r(h + \frac{13}{8})] + \frac{45}{144} \cdot 2[2(r +
425
\frac{5}{8})]^2 + \frac{10}{12} [2 \cdot 2 \pi(r + \frac{5}{8})] + \frac{2}{12}
426
[2 \cdot 2 \pi(r + \frac{5}{8})] + \frac{10}{12} (h + \frac{13}{8})
427
$$
428
429
Which can be simplified to: \par
430
431
$$
432
C = \frac{17 \pi r}{36} (h + \frac{13}{8}) + \frac{5}{2}(r + \frac{5}{8})^2 + 4
433
\pi (r + \frac{5}{8}) + \frac{5}{6} (h + \frac{13}{8})
434
$$
435
436
Now we can substitute $\frac{12705}{\pi r^2}$ for $h$ and can define $C$ in
437
terms of $r$: \par
438
439
$$
440
C = \frac{17 \pi r}{36} (\frac{12705}{\pi r^2} + \frac{13}{8}) + \frac{5}{2}(r +
441
\frac{5}{8})^2 + 4 \pi (r + \frac{5}{8}) + \frac{5}{6} (\frac{12705}{\pi r^2} +
442
\frac{13}{8})
443
$$
444
445
Which can be simplified to: \par
446
447
$$
448
C = \frac{5}{2} r^2 + \frac{221 \pi}{288} r + \frac{25}{8} r + 4 \pi r +
449
\frac{4235 \cdot 17}{12r} + \frac{4235 \cdot 5}{2 \pi r^2} + \frac{125}{128} +
450
\frac{65}{48} + \frac{20 \pi}{8}
451
$$
452
453
\newpage
454
455
To continue, we must take $\frac{dC}{dr}$ and set it to zero to find the
456
critical points. We must also take the second derivative to determine which
457
critical point is a maximum: \par
458
459
$$
460
\frac{dC}{dr} = 5r + \frac{1373 \pi}{288} + \frac{25}{8} - \frac{4235 \cdot
461
17}{12r^2} - \frac{4235 \cdot 5}{\pi r^3}
462
$$
463
$$
464
\frac{d^2 C}{dr^2} = \frac{4235 \cdot 17}{6r^3} + \frac{3 \cdot 4235 \cdot
465
5}{\pi r^4}
466
$$
467
468
The critical points of $\frac{dC}{dr}$ are at $r = -1.126, 0,$ and $9.929$. By
469
plugging these numbers into $\frac{d^2C}{dr^2}$, the minimum cost is found to be
470
achieved at $r = 9.929$ inches. We can then plug $r$ into the original function
471
to find $h$: \par
472
473
$$
474
h = \frac{12705}{\pi r^2}
475
$$
476
$$
477
h = \frac{12705}{\pi (9.929)^2}
478
$$
479
$$
480
h = 41.02
481
$$
482
483
But due to the way the variables are defined, the height of the optimal cylinder
484
is actually $h + \cdot \frac{5}{8} = 41.02 + \cdot \frac{5}{8} = 42.27$ inches.
485
\par
486
487
\vspace{0.2cm}{\noindent{So, the optimal dimensions of the cylinder are:}} \par
488
489
\begin{itemize}
490
\item $r = 9.929$ inches
491
\item $h = 42.27$ inches
492
\end{itemize}
493
494
\noindent{However, the actual dimensions of the 55-gallon Tight Head Steel Drum
495
are:} \par
496
497
\begin{itemize}
498
\item $r = 12$ inches
499
\item $h = 35$ inches
500
\end{itemize}
501
502
\noindent{As you can see, the actual dimensions of the 55-gallon Tight Head
503
Steel Drum are not the most cost effective.} \par
504
505
\section*{Conclusion}
506
507
This has been the most difficult project for me to solve all year. I got stumped
508
many times and often got frustrated with the problem. It took a lot of peer
509
collaboration and discussion to finally figure out the solution. While the
510
initial cylinder surface area problem was not too difficult, the cost parameter
511
and dimensions of the 55-gallon Tight Head Steel Drum made the problem very
512
confusing. I found keeping track of all the specifications and dimensions to be
513
very difficult for me. \par
514
I honestly don't think that I could have done this project alone. I collaborated
515
with many people to get a final answer. However, the collaboration was very
516
effective and I enjoyed hearing other people's ideas, answers, and opinions.
517
\par
518
519
\vspace{0.2cm}{\noindent{\textbf{People I Collaborated With}}} \par
520
521
\begin{itemize}
522
\item Hector Cantu
523
\item Vicki Curtin
524
\item Fletcher Barnhill
525
\item Jackie Smith
526
\end{itemize}
527
528
\end{document}
529
530