# [Maxima] an empty list with 76 elements

Thu Mar 29 08:15:07 CDT 2012

```Hello Christopher and David,

I try to solve a loop for example like this:

A: makelist(i*0.1,i,0,75);

for i:1 thrue length(A) step 1 do

fourier_elim( [A[i]-B[i]+C[i]>2, A[i]+B[i]<4] , [ B[i], C[i] ]);

At the beginning I wantet to make a list for B and C with the same
size, but now I understand that the list of B and C can not be empty.
I should define variable for their elements like [x,y,z,t,...].

Best regards

Sara

Am 29. März 2012 14:48 schrieb David Billinghurst <dbmaxima at gmail.com>:
> On 29/03/2012 11:32 PM, Sara Pashmin wrote:
>>
>> I would like to know please how to make a "empty" list with for
>> example 76 elements?
>
> Is this what you want?
>
> (%i1) makelist([],i,0,75);
> (%o1) [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [],
> [],
> [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [],
> [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [],
> [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [],
> []]
>
```