
2. You should complete Exercises 2 and 3 of the on-line spreadsheet tutorial for Module 5 (From Growth to Form) before a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
2. You should complete Exercises 2 and 3 of the on-line spreadsheet tutorial for Module 5 (From Growth to Form) before a
question. In fact, if you have completed these exercises, you should have a solution to this question that requires only very minor modifications prior to submission The L-Grammar used to generate the branching structure shown in Reference 1 Fig 1.24(d) is not suitable for use in Excel for the rea- Wo :X sons described in the on-line spreadsheet tutorial for Module 5 and ro: F-FF in the reading materials on L-Systems. Instead, we use the modified L-Grammar shown at right, with 2 other variations of the rulen. 7:X-F++X--F-X++X-UFFU 1 (a) Use the method of Exercise 2 of the on-line spreadsheet tutorial for Module 5 to set up a rules table and a rewriting table for the above grammar. Use your rewriting table to find the strings W., W6. Make sure that the rules are applied in the order ro followed by r, at each rewrite. (So the inner SUBSTITUTE O should apply To and the outer SUBSTITUTE() should apply
6) Use the method of Exercise 3 of the online spreadsheet tutorial for Module 5 to set up a turtle settings table and a turtle graphics calculation table for the string w, you calculated in (a). Use a spreadsheet formula to create your column of í values. As in the tutorial, the starting state of the turtle should be (0,0,90). The angle for this L-System is 5 = 15". You will need to decide how long you need to make your turtle graphics calculation table based on the length of w, calculated in your rewrite table. (Approximately 2300.) (C) Plot the x and y columns of your turtle graphics calculation table as an "x-y" plot with lines but no dots. Your picture will be hard to interpret if you use a different format (and you will lose marks).
2. You should complete Exercises 2 and 3 of the on-line spreadsheet tutorial for Module 5 (From Growth to Form) before attempting this
