Live data from Hacker News

The perfect shape

bannalia.blogspot.com

21–26 of 26 posts

Re: The perfect shape

#21
post #4

Awesome, but why a genetic algorithm? I wonder if it could be formulated as a tractable optimization problem instead.

Or perhaps solved more purely using Calculus of Variations.

I've added a small postscript explaining why calculus of variations (in its simplest form at least) is not applicable to this problem.

Re: The perfect shape

#22
post #9
post #2

I may be reading this wrong, but I think this means that a shot glass is mathematically perfect.

I'd notice that this must also describe the best shape of a glass to keep a beverage hot . But, unlike shot glasses, tea and coffee cups look very different.

As you correctly point out the problem is entirely symmetrical to that of keeping a hot beverage as hot as possible. If we take the different problem of trying to cool a hot beverage, the optimum, pathological solution would be a glass with 0 height and infinite width --studying this problem with the additional constraint that width be limited to some predefined value might make for an interesting followup article.

Re: The perfect shape

#23

Oh, I've heard this one before. Then the physicist fills a balloon with water and sticks a straw in it, proclaiming it a dynamically optimal system (in the absence of gravity); and finally the engineer sprays foam insulation on a glass jar and calls it a day.

Yeah, these double walled cups work quite well:

http://www.amazon.com/gp/aw/d/B004NBXR98/ref=mp_s_a_1_1?qid=...

Re: The perfect shape

#24
post #9

Earlier quoted context omitted.

I'd notice that this must also describe the best shape of a glass to keep a beverage hot . But, unlike shot glasses, tea and coffee cups look very different.

As you correctly point out the problem is entirely symmetrical to that of keeping a hot beverage as hot as possible. If we take the different problem of trying to cool a hot beverage, the optimum, pathological solution would be a glass with 0 height and infinite width --studying this problem with the additional constraint that width be limited to some predefined value might make for an interesting followup article.

I would add the constraint that the surface is convex, too. Without that, one could build some 3D fractal, and get infinite area for any given volume.

Alternatively, complicate things by taking the width of the glass into account or model convection more realistically (a square meter of glass close to other glass of similar temperature will not lose much heat)

Re: The perfect shape

#26
post #9
post #2

I may be reading this wrong, but I think this means that a shot glass is mathematically perfect.

I'd notice that this must also describe the best shape of a glass to keep a beverage hot . But, unlike shot glasses, tea and coffee cups look very different.

I think shot glasses are optimized to be put into various configurations, such as matrices and triangular matrices: http://www.likecool.com/Home/Accessories/Billiards%20Shot%20...
Post reply on HN