Interesting experiment, I'd give it a go. Here's my solution -
Assume the width of the paper strip is W. The small pentagon knot has side length of L, where L = W / cos(18 degree).
The total length of paper required by the small pentagon knot is: (2*L + L*sin(18)) * 4 + L*sin(18).
Five such pentagons are needed to build the large pentagon. Giving the total length requirement of ((2*L + L*sin(18))*4 + L*sin(18))*5, which simplifies to 47.725424859 * L. The relationship b/w L and the Diameter of the circle is: L = D * sin(36).
Thus the perl code:
# calculate length and width of paper strip
# based on diameter of circle of inner edge
sub NumberCrunch()
{
my ($diameter) = @_;
my $L = $diameter * 0.58778525229;
my $W = $L * 0.951056516; # W = L * cos(18)
my $total_length = $L * 47.725424859;
return ($total_length, $W);
}
...
my ($TotalLength, $PaperWidth) = NumberCrunch($Diameter);
The above should give the minimum length and paper width required to fold such pentagon, given the diameter of the inner circle encompass the inner pentagon.
Ok, this is just a quick solution I came up during my lunch break, don't be suprised if my number crunch is wrong. :-) I'd love to see other people's solution to this problem.
Second solution: if inner is regular decagon, then L = D * sin(18), and Length = ((2*L + L*sin(18))*4 + L*sin(18) + L)*5, and W = L * cos(18). Simplify the equations and modify the perl script to get the solution for the second part of the question...
PS. I vaguely remember seeing this knot in ancient greek geometry, where golden ratio and the self-repeating patterns were discussed.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.