File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes how to cut a cake which is round into 8 equal pieces with just 3 strokes of a Knife?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Reply Bookmark "how to cut a cake which is round into 8 equal pieces with just 3 strokes of a Knife??" Watch "how to cut a cake which is round into 8 equal pieces with just 3 strokes of a Knife??" New topic
Author

how to cut a cake which is round into 8 equal pieces with just 3 strokes of a Knife??

J radolf
Ranch Hand

Joined: Jan 08, 2009
Posts: 121
can anybody solve this simple puzzle


i know the answer by the way.
John Plaer
Greenhorn

Joined: Apr 09, 2009
Posts: 10
1. First stroke:Straight from the middle, dividing the cake in two equal halves
2. 2nd stroke: Similar cut at 90 degrees, so that cake is now in 4 equal parts
3. 3rd: From the side throughout the cake ;) (you will need a knife longer than cake)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
I can. But why are you banging your head against the wall if you know the answer?


Android appsImageJ pluginsJava web charts
J radolf
Ranch Hand

Joined: Jan 08, 2009
Posts: 121
I can. But why are you banging your head against the wall if you know the answer?



i like that bangHead Emoticon.

J radolf
Ranch Hand

Joined: Jan 08, 2009
Posts: 121
Good Answer John Plaer
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32767
John's answer assumes that the cake is symmetrical along the vertical axis. :-) An approach that also works for asymmetrical cakes would involve rearranging the 4 pieces before making the third cut.

I like that bangHead Emoticon.

Let's not turn this into Meaningless Drivel, please ...
J radolf
Ranch Hand

Joined: Jan 08, 2009
Posts: 121
Let's not turn this into Meaningless Drivel, please ...


Ya sure Sir
Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 280
Cut the cake into two halves. Put one half on top of other, cut again. Now again the put 4 pieces on top of each other. Cut the piled up pieces from top in half again. You get 8 equal pieces with 3 blows...
 
 
subject: how to cut a cake which is round into 8 equal pieces with just 3 strokes of a Knife??
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture