This Maths activity embeds a repeat loop within another repeat loop.
Initially students are presented with a program to draw a square in the Scratch environment. Then the repeat for the square instruction is embedded in another repeat loop, which uses the square instructions 36 times with a 10 degree turn between each loop. This produces an attractive design.
After plenty of reading and discussion about what is going on with this code, students can attempt to draw a triangle, and a related design based on the triangle.
Students will recognise the pattern:
number of sides * number of degrees of each turn = 360º.
They may arrive at the number of degrees by using the inverse operation:
360 / number of sides = number of degrees of each turn.
Students can be extended with an invitation to code any regular polygon. #cserTask3
no plus ones, 0 comments
You must log in to post a comment.