declaring an array of trig values



Hi
    Could someone help me with the following simple problem. I cannot 
figure out where I should look for in the documentation regarding this. 
Tried reading the documentation on array, functions etc., But none of 
them talk about how to declare an 'elemental function'.

I want to declare an array whose values are

cos(%PI/N), cos(2*%PI/N), cos(3*%PI/N) ..... cos(N*%PI/N)

I tried this

i : [1,2,3,4,5,6,7,....,N]

a : cos(%PI*i/N)

Which btw is what people do in Fortran 90 programming. But maxima does 
not do what I want. Can you please tell me how to achieve this?

thanks
raju