Add-a-number
Training Add number
I trained a robot to repeatedly add 1 to produce the numbers 0, 1, 2, 3....
Explain how you trained the robot:
I put the "with this" box into the robots dream, I trained to copy the "add this" 1, Added it to "current" 0 coped new current, and gave it to the bird. Then with the sucker thingie I made the current in to any number by erasing the 0 in the robot's dream.Explore
Can you think of a way to use your robot to produce these sequences?| Sequence | Explain - in words | Explain - in ToonTalk |
|---|---|---|
|
If yes, explain how you would do it. If you think it is impossible, explain why. |
Add any ToonTalk object that helps show how you did it. Describe what a robot must do to produce a sequence. | |
| 2, 3, 4, 5… | Do same as above, but take out 1from the nest |
This will work because I have done it before. |
| -1, -2, -3, -4… | Do same as above, but instead of adding 1, take away 1in the process |
This will work becaues, i've pretty much done it already. |
| -7, -6, -5, -4.. | Do same as above but start the input with -7 |
This will work becaues, i've pretty much done it already. |
| 2, 4, 6, 8… | Do same as above, however instead of adding 1 in the process, add 2 and start with2 |
This will work becaues, i've pretty much done it already. |
| 5, -1, -7… | Do same as above, but start with 5 and take away 6 in the process |
This will work becaues, i've pretty much done it already. |
| Write down a sequence of your own, which can be generated by your robot. |
10,20,30,40,50 |
This will work becaues, i've pretty much done it already. |
| Write down a sequence of your own, which cannot be generated by your robot. | 2,4,16,136... |
This will not work because my robot can not square numbers |
Explain
How would you explain to a friend what kind of sequences your robot can generate, and how it can be used to generate those sequences?How would you convince a friend of your claims?
Comment
Can you explain?
Posted by:
Ken
at
06-12-04
Nice job.
I was wondering why you write that it makes the sequence 0, 1, 2, 3, 4, ... when on the nest is the sequence 1, 2, 3, 4, ... What happened to 0? How could you make your robot generate the sequence starting with 0?
By the way, at first I thought ToonTalk was broken when I tried to load your box since nothing happened. I had to wait a minute or two because you have over 28,000 numbers on top of the nest and it took ToonTalk a while to load them all.
Comment
Can you explain?
Posted by:
Sofia
at
06-12-04
Well done! Two questions for you:
1) Can you use your ADD robot to produce constant sequences, such as:
0, 0, 0, 0, ...
-1, -1, -1, ...
100, 100, 100, ...
2) Why do you call the sequence:
2, 4, 16, 136, ...
"square numbers" and can you generate it with another robot?