Basic Examples (3)
Basic Examples
(3)
Find the averages up to the element:
th
n
In[34]:=
Out[34]=
1,,2,2,,,2,2,,,,
3
2
11
5
13
6
19
9
23
10
26
11
7
3
———
Use symbolic input:
In[35]:=
Out[35]=
a,,(a+b+c),(a+b+c+d),(a+b+c+d+e),(a+b+c+d+e+f)
a+b
2
1
3
1
4
1
5
1
6
———
Compute the cumulative averages of the digits of :
In[36]:=
digits=N@First[RealDigits[Pi,10,1000]];cma=[digits];ListPlot[cma,PlotRangeAll,JoinedTrue]
Out[38]=
Scope (4)
Scope
(4)
Neat Examples (1)
Neat Examples
(1)