… Y’see, now, y’see, I’m looking at this, thinking, squares fit together better than circles, so, say, if you wanted a box of donuts, a full box, you could probably fit more square donuts in than circle donuts if the circumference of the circle touched the each of the corners of the square donut.

So you might end up with more donuts.

But then I also think… Does the square or round donut have a greater donut volume? Is the number of donuts better than the entire donut mass as a whole?

Hrm.

HRM.

A round donut with radius R

_{1}occupies the same space as a square donut with side 2R_{1}. If the center circle of a round donut has a radius R_{2}and the hole of a square donut has a side 2R_{2}, then the area of a round donut is πR_{1}^{2}- πr_{2}^{2}. The area of a square donut would be then 4R_{1}^{2}- 4R_{2}^{2}. This doesn’t say much, but in general and throwing numbers, a full box of square donuts has more donut per donut than a full box of round donuts.

The interesting thing is knowing exactly how much more donut per donut we have. Assuming first a small center hole (R_{2}= R_{1}/4) and replacing in the proper expressions, we have a 27,6% more donut in the square one (Round: 15πR_{1}^{2}/16 ≃ 2,94R_{1}^{2}, square: 15R_{1}^{2}/4 = 3,75R_{1}^{2}). Now, assuming a large center hole (R_{2}= 3R_{1}/4) we have a 27,7% more donut in the square one (Round: 7πR_{1}^{2}/16 ≃ 1,37R_{1}^{2}, square: 7R_{1}^{2}/4 = 1,75R_{1}^{2}). This tells us that, approximately, we’ll have a 27% bigger donut if it’s square than if it’s round.

tl;dr: Square donuts have a 27% more donut per donut in the same space as a round one.All I can think now is that I want donuts

It’s a good stuarting point, but this discussion of donut packing neglects

several crucial details.(a quick note about the extruded annular donut case: (

R_{1}^{2}-R_{2}^{2}) factors out so the area ratio isalways4:π≃ 1.273:1, regardless of the two radii.)

- Donuts are 3D objects, and have a volume rather than a cross-sectional area. This wouldn’t matter if ordinary circle donuts were extruded annuli, but they’re tori.

- The
volumeof a toroidal donut of major radius (distance from centre to the centre of the tube) ofRand a minor radius (radius of the tube) ofris 2π^{2}Rr^{2}.- We can convert to have this in terms of the inner radius
R_{2}and outer radiusR_{1}usingR=(R_{2}+R_{1})/2, andr=(R_{2}-R_{1})/2<s- In terms of these values, the volume of the toroidal donut is
π^{2}(R_{1}^{2}-R_{2}^{2})(R_{1}-R_{2})/4.- The volume of the corresponding square donut is 4(
R_{1}^{2}-R_{2}^{2})(R_{1}-R_{2}).- So… all the factors of
R_{1}andR_{2}just factor out again! The volume ratio per donut turns out to be 16:π^{2}≃ 1.62:1, even more in favour of the square donuts.- Tiling in a square grid is not the most efficient way to pack identical circles into the plane.

- If we’re putting our donuts into an infinitely large box, we should use hexagonal packing.
- More likely we have a square box, in which case we could use this data on the best known packings to figure out how many
~~circles we can fit in a given size of square~~donuts we can fit in a given sized box.- We’re never going to do quite as well as the square donuts in terms of volume, but we might be able to get an extra donut or two in and make things a bit better for the toroidal donuts. In this picture, we can get one extra round donut per layer…

- [Admittedly we’ll probably have a square flat box and stand our donuts on their sides only one layer deep, in which case we’re pretty much guaranteed to have the same number of square and round donuts.]

- Using a fairly naive packing scheme of ‘put it in a grid I guess’, the number of square donuts we can fit in a square layer of side
Lis at least floor(L/(2R_{1}))^{2}. We can sometimes fit an extra donut in, iff (Lmod 2R_{1}) ≥R_{1}√2. There are probably more efficient packing schemes - apparently packing squares inside a bigger square is still an open problem.- Let’s plot the number of donuts we can fit in a flat layer with the two schemes…

- So it varies, but yeah, you can often get a lot more circular donuts in your box. To apply this to the volume ratio, we need the ratio between the number of circular donuts and the number of square donuts…

- If we call this number ratio
q, the volume ratio becomes 16:qπ^{2}≃ 1.62/q:1. Let’s plot 1.62/q…

- From the graph, we see that for most box sizes,
square donuts give you about 1.4 to 1.6 times as much donut per box.However, intriguingly, there is one size of the box for which square donuts are no good…- At this point, Mathematica crashed and I hadn’t saved my worksheet. The mysterious value where circular donuts are better will have to remain a mystery.

More Gifs, this time with pokemon… I know I should be excited with the R/S remakes, but my love for Johto is vast and endless

Free! x Pokemon(Click the images for larger size).Story of Rei and Eevee

Rei thought Eevee is beautiful and perfect pokemon. (not sure what’s his standard) Eevee also knew that he loves his ‘beauty’. However, when Rei started to swimming, both of them couldn’t swim at all. Eevee wanted to evolve to Vaporeon to help him with swimming and Rei appreciated of his kindness. In the end, Eevee evolved to Vaporeon and help him with swimming.

"how’s school?"

Free! x Pokemon(Click the images for larger size).Story of Makoto and Dratini

When Makoto was young, Dratini saved him from drowning. Makoto smiled and said thank you to him; Dratini fell in love(?) with him and started to follow him. (It’s more like imprinting)