On Wed, 2009-12-16 at 19:25 +0100, Michael Anderl wrote:
> is it possible to get an output like a table.
>
> e.g.: I have 4 functions fa(x), fb(x), fc(x), fd(x)
Hi,
try the printf command:
(%i1) for m:1 thru 4 do printf(true,"~,4f ~,4f ~,4f ~,4f~%" ,
float(fa(0.05*m)), float(fb(0.05*m)), float(fc(0.05*m)),
float(fd(0.05*m)))$
0.1000 0.0025 0.0025 0.0167
0.2000 0.0100 0.0100 0.0333
0.3000 0.0225 0.0225 0.0500
0.4000 0.0400 0.0400 0.0667
you can improve it to suit your needs using other formatting options;
printf tries to reproduce the functionalities of "format" in list, so
you should look up the documentation for Lisp's format.
Regards,
Jaime