Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Two programming challenges

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14374] Two programming challenges
  • From: wself at viking.emcmt.edu (Will Self)
  • Date: Thu, 15 Oct 1998 00:29:12 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Mathematica Programming Challenge 1

Given several points in the plane, connect these points by line
segments, resulting in a connected polygonal line that passes through
all the points and does not intersect itself.  Arrange it so that the
line seems to spiral inwards.


Mathematica Programming Challenge 2

There are two rhombi, named after Penrose, which you can use to tile the
plane.  They both have the same edge length; the narrower rhombus has a
tip angle of Pi/5, and the wider rhombus has a tip angle of 2Pi/5.
Write a program that produces random (whatever that means) tesselations
of (part of) the plane, using these two shapes.

Will Self


  • Prev by Date: Re: Unexpected results
  • Next by Date: RE: StyleForm
  • Previous by thread: SUMMARY: How {{a,b,c},{1,2,3,4,5,6,7}}-->{{a,1},{b,2},{c,3},{a,4},...,{a,7},{b,1},...}?
  • Next by thread: Re: Two programming challenges