[Maxima] use "for" loop to create list

Ether Jones maxima at etherjones.us
Tue Apr 3 09:09:36 CDT 2012


How do I create this list:

f(x):=x^2;

myList: [
[1, f(1)],
[2, f(2)],
[3, f(3)],
[4, f(4)],
[5, f(5)],
[6, f(6)],
[7, f(7)],
[8, f(8)],
[9, f(9)],
[10,f(10)]
];

... using a "for" loop?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20120403/2c15a7a4/attachment.html>


More information about the Maxima mailing list