On 2012-09-18, Mixon, Wilson <wmixon at berry.edu> wrote:
> /*Functions*/
> pi(p,a):=floor(p^(1/a)/30^(1/a));
> xi(p,i,a):=5*p/(3*i^a);
> /*Lists*/
> pList:makelist(30+3*(i-1),i,1,3);
> imaxList: pi(pList,0.1);
> /*Summation that I'd like to generalize to a third list*/
> sum(xi(pList[1],i,.1),i,1,imaxList[1]);
> sum(xi(pList[2],i,.1),i,1,imaxList[2]);
Seems like makelist handles the third list well enough ... am I missing
something?
makelist (sum (xi (pList [j], i, 0.1), i, 1, imaxList [j]), j, 1, 3);
=> [50.0, 106.3168145345244, 323.2104443563449]
Hope this helps,
Robert Dodier