|
Further Examples: FoldList
This gives a list of cumulative sums.
In[1]:= 
Out[1]= 
For the cumulative products you have to start with .
In[2]:= 
Out[2]= 
The function makeChange computes the minimum number of quarters, dimes, nickels, and pennies needed to make up the dollar amount d.
In[3]:= 
In[4]:= 
Out[4]= 
In[5]:= 
|