Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: makelist (<expr>, <i>, <i_0>, <i_1>)
![Makelist Example fpprintprec:5;
u0:0;
u1:15;
u2:5;
u3:3;
u4:2;
T:2;
j:makelist(j,j,[15,5,3,2]);
k:4;
xn:0;
xk:%pi;
N:11;
dx:(xk-xn)/(N-1),numer;
Uvx(x):=u0+s:sum(j*cos((2*%pi*j)/T),j,1,k), numer;
for x:xn thru xk step dx do display(Uvx(x)),numer;](http://maxima-online.org//plot.html?g=i-1251197736.png&t=img&db=r-1016085370)
Function: makelist (<expr>, <x>, <list>) Constructs and returns a list, each element of which is generated from <expr>.
makelist (<expr>, <i>, <i_0>, <i_1>) returns a list, the jth element of which is equal to ev (<expr>, <i>=j) for j equal to <i_0> through <i_1>.
makelist (<expr>, <x>, <list>) returns a list, the jth element of which is equal to ev (<expr>, <x>=<list>[j]) for j equal to 1 through length (<list>).
Examples:
(%i1) makelist(concat(x,i),i,1,6);
(%o1) [x1, x2, x3, x4, x5, x6]
(%i2) makelist(x=y,y,[a,b,c]);
(%o2) [x = a, x = b, x = c](%o1) true (%i2)