Do
Usage
Notes
Further Examples
Here is a simple Do loop to add the first 1000 integers.
In[1]:=
|
In[2]:=
|
In[3]:=
|
Out[3]=
|
In[4]:=
|
This loop creates a series of graphics that can be animated. Double-click on the graphic to start the animation, or select the cell brackets containing the graphics and choose Animate Selected Graphics in the Cell menu. Evaluate the cell to see the graphic.
In[5]:=
|
|