How do I store values to a list in a program?
Basically what I want to do is say store numbers in a list.
e.g. { 11, 12, 14, 16, 19 }
I then want to calculate the difference of two adjacent terms and store these in another list, e.g.
{ 1, 2, 2, 3 }
and so on
{ 1, 0, 1 }
{ -1, 1 }
{ 2 }
How would I go about programming this? I do even know how to create lists. Any help would be much obliged
Thanks
Greg