<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>7368</id>
  <path>/www/nrich/html/content/id/7368/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;table style=&quot;border:none;&quot; border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan=&quot;6&quot; style=&quot;border:none;&quot;&gt;
&lt;ul id=&quot;stemLinks&quot;&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/1532&amp;amp;part=&quot;&gt;Warm-up&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/7406&amp;amp;part=&quot;&gt;Try this next&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://nrich.maths.org/discus/messages/27/150534.html&quot;&gt;Ask NRICH&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/7445&amp;amp;part=&quot;&gt;Read all about it&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://nrich.maths.org/7054&amp;amp;part=solution&quot;&gt;Last week&amp;#39;s solution&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;6&quot; style=&quot;border:none;&quot;&gt;&lt;br&gt;&lt;/br&gt;
How would you write a &lt;a href=&quot;http://nrich.maths.org/5460&amp;amp;part=&quot;&gt;LOGO&lt;/a&gt; program to approximately reproduce the Olympic Rings logo?&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
You can do this theoretically, use logo or even try to do it in a limited number of characters making use of the twilgo &lt;a href=&quot;http://twilgo.com/nrich&quot;&gt;http://twilgo.com&lt;/a&gt; environment. Using this small number of characters is a challenge!&lt;br&gt;&lt;/br&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;6&quot; style=&quot;border:none;&quot; width=&quot;600&quot;&gt;
&lt;div class=&quot;framework&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Did you know ... ?&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;a href=&quot;http://nrich.maths.org/5460&amp;amp;part=&quot;&gt;LOGO&lt;/a&gt; is a simple programming language which instructs a pointer (or &amp;#39;turtle&amp;#39;) to move on a flat surface. Mathematicians often become very skilled computer programmers and learning how to create beautiful, efficient algorithms is a part of this.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
If you go to &lt;a href=&quot;http://twilgo.com/nrich/&quot;&gt;nrichtwilgo&lt;/a&gt;
then&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
RT 90 REPEAT 3 [REPEAT 360 [FD 1 RT 1] PU FD 125 PD] PU RT 139 FD
245 RT 41 PD REPEAT 2 [REPEAT 360 [FD 1 RT 1] PU FD 130 PD]&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
will approximately produce the desired image.  Perhaps
you can produce a 'better' algorithm to display this? If so, let us
know!&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
For trademarking reasons we are unable to display this image, so
why not try this for yourself?&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML/>
  <clueXML/>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
If you go to &lt;a href=&quot;http://twilgo.com/nrich/&quot;&gt;nrichtwilgo&lt;/a&gt;
then&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
RT 90 REPEAT 3 [REPEAT 360 [FD 1 RT 1] PU FD 125 PD] PU RT 139 FD
245 RT 41 PD REPEAT 2 [REPEAT 360 [FD 1 RT 1] PU FD 130 PD]&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
will approximately produce the desired image.  Perhaps
you can produce a 'better' algorithm to display this? If so, let us
know!&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
For trademarking reasons we are unable to display this image, so
why not try this for yourself?&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>1</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Weekly challenge 20: The Olympic \LOGO</title>
  <description>A weekly challenge concerning drawing shapes algorithmically.</description>
  <spec_group>Applications
    <specifier>Design</specifier>
  </spec_group>
  <spec_group>Applications
    <specifier>sport</specifier>
  </spec_group>
  <spec_group>Applications
    <specifier>Technology</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Computer-based</specifier>
  </spec_group>
  <spec_group>Applications
    <specifier>STEM - design technology</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Logo</specifier>
  </spec_group>
</resource>