Post Reply 
hpcc.info
12-16-2014, 07:47 PM
Post: #1
hpcc.info
HPCC in London, have a new (and old) technology forum.
http://hpcc.info
Visit this user's website Find all posts by this user
Quote this message in a reply
12-16-2014, 11:12 PM
Post: #2
RE: hpcc.info
My favorite program so far: Pastry Making in HPLUA Programs
Quote:-- this falls slightly short
This made me chuckle. Throwing all that math at a problem and then not using it. Smile
You could probably just as well return 2*h+b in baseCutDiameter.
Now I wonder what kind of pastry you make.

Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
12-17-2014, 08:36 AM
Post: #3
RE: hpcc.info
I did try it. that's why i found it falls slightly short :-)

Imagine you have a dish with a sloped side (the frustrum). The idea is to cut a circular piece of pastry to fit the base and the sides. However, the shape is not a circle when flattened and so a circular piece of pastry winds up (slightly) crumpled on the side slopes and thus "falls short" slightly.

I think the 10% hack factor accommodates this.

The code was an experiment to calculate the amount of pastry required to make a pie with an optional lid, and then calculate the amount of raw ingredients needed (ie flour, fat, etc.)

:-)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)