<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>1570</id>
  <path>/www/nrich/html/content/02/09/logo1/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;p&gt;It is useful to feel comfortable using procedures, though if you have not met procedures before- this might help you feel why they might be useful. More about procedures can be found in &lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=4855&amp;amp;part=&quot;&gt;FIRST FORWARD 6&lt;/a&gt; and in the next challenges.&lt;/p&gt;
&lt;p&gt;The challenge is to produce elegant solutions to the problem. Elegance here implies simplicity. The focus is on &lt;strong&gt;rhombi.&lt;/strong&gt; Or:&lt;/p&gt;
&lt;p&gt;REPEAT 2 [ FD 40 RT 60 FD 40 RT 120]&lt;/p&gt;
&lt;p&gt;The design below is part of tile seen in a shop - sadly now closed, at King&amp;#39;s Cross in London. Can you generate it in as elegant a fashion as possible?&lt;/p&gt;
&lt;p&gt;&lt;mdo:image alt=&quot;Diamonds are forever.&quot; height=&quot;413&quot; src=&quot;pic1.gif&quot; width=&quot;508&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt;You can download some excellent free LOGO software from the internet at &lt;a href=&quot;http://fmslogo.sourceforge.net/&quot;&gt;http://fmslogo.sourceforge.net/&lt;/a&gt;.&lt;/p&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML>&lt;mdoxml version=&quot;1.0&quot;&gt;There are many ways to tackle the challenge. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
You might like to consider returning to this challenge when you
have found out about procedures. For now you might like to see how
you might use the REPEAT command. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Here are some ideas: &lt;br&gt;&lt;/br&gt;

&lt;ul&gt;
&lt;li&gt;Can you draw one rhombus?&lt;/li&gt;
&lt;li&gt;Can you write a single line of code that draws the two rhombi
joined together?&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;You can change the pencolour by using the command SETPC
followed by a number between 0 and 15.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Try drawing pairs of rhombi in different colours and in
different arrangements. For example, what does the following line
of code produce?:&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;RT 60 FD 40 RT 60 FD 40 RT 120 FD 60 LT 120 FD 20 LT 60 FD 20
LT 120 FD 60&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Now, how are they connected?&lt;/div&gt;
&lt;div&gt;What part does the colour play?&lt;/div&gt;
&lt;div&gt;Could you repeat this pattern forever?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Would it be useful to be able to store some commands to
re-use? If so you need to learn about procedures.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML/>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>1</keystage2>
  <keystage3>1</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>LOGO Challenge 2 - Diamonds are forever</title>
  <description>The challenge is to produce elegant solutions. Elegance here
implies simplicity. The focus is on rhombi, in particular those
formed by jointing two equilateral triangles along an edge.</description>
  <spec_group>2D Geometry, Shape and Space
    <specifier>Rhombi</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Logo</specifier>
  </spec_group>
</resource>