Question: How to write data in from a for loop to a vector

for example:

for i from -0.5 to 0.5 by 0.1 do


end do:

I want to write the 10 results of sin(i) into array1 in sequence

How to make it?

Additionally, if I don't want to write the 6th (i=0) value to array2:=Vector(9,0), what should I do?

Thank you

Please Wait...