## Tabs

### Coding Sequences with BB-8

I wanted to do another coding project after "Code Day" I thought the students would benefit from seeing it again.  We had a day between our short chapter on sequences/series and NeSA review of next week.  In class we introduced arithmetic sequences, geometric sequences, and series.  I programmed the BB-8 with a code and asked students what the sequence was, then what the rule was?

Students explained that the sequence was 3, 6, 9, .....

Then what the rule was? Adding three every time.

Then I gave them code and asked them again what the sequence was suppose to look like and what the rule was.

The 10 degrees was to keep it on the number line.

I asked what the sequence should be. Some students said 2, 4, 6, 8, ...

I was impressed with my students, because they asked how far was 2 seconds at 50% speed.  So we played it with the BB-8 and it was somewhere between 2 and 3.

Students then were to create their own sequence where the BB-8 had to move across the number line. Students had to take a screen-shot of the code and write what the sequence was on Notability and include the photo.

I was incredibly impressed with the amount of effort put in to it.  Even with just one BB-8 from Sphero all students had the chance to get test their BB-8's code.

Here is an example of student's code:

It was a great activity for students to use code and their knowledge of sequences and rules together.