Chapter 3 introduces the idea of time, which is represented by the variable t. In this abstract view, time is an integer that starts at 0 and increases by steps of 1.
A more mathish way to write Out(t) = In(t-1) would be
Outt = Int-1
which makes it more evident that t is a subscript to variables Out and In.
Another way to think of it is as a program where Out and In are arrays and t is an array index.
bool In[infinity], Out[infinity]
t = In[0] = Out[0]
while (true) {
t = t+1;
Out[t] = In[t-1];
}
“Out is now what In was before” is a very good description, by the way.
Some students find it easier to think about "what happens next" rather than "what happened before." This changes the statement to
Outt+1 = Int
--Mark
| Free forum by Nabble | Edit this page |