<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>1564</id>
  <path>/www/nrich/html/content/02/03/logo1/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;Beginners to LOGO programming may want to start by working through the &lt;a href=&quot;https://nrich.maths.org/8045&quot;&gt;FIRST FORWARD series of introductory articles&lt;/a&gt; before tackling this problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Below are some examples of recursion. I had been trying to replicate the spirals within the head of a sunflower!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;logo1.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;logo2.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;logo3.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;The program used was:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TO SUNF :S :A&lt;br&gt;&lt;/br&gt;
FD :S RT :A&lt;br&gt;&lt;/br&gt;
SUNF :S + 1 :A&lt;br&gt;&lt;/br&gt;
END&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You might like to replicate the spirals above by considering suitable values for the variables :S and :A.&lt;/p&gt;
&lt;p&gt;The real challenge is to simulate the head of a sunflower with more spirals that are much more tightly packed and look distinctly more &amp;#39;Fibonacci&amp;#39; in proportion!&lt;/p&gt;
&lt;h4&gt; &lt;/h4&gt;
&lt;h4&gt; &lt;/h4&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML/>
  <clueXML/>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>1</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Spirals instead of sunflowers</title>
  <description>Using logo to investigate spirals</description>
  <spec_group>Information and Communications Technology
    <specifier>Logo</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Fibonacci sequence</specifier>
  </spec_group>
</resource>