(%i1) load(numericalio)$
(%i2) f(x) := exp(x)$
(%i3) data : make_array ('any,10,2)$
(%i4) x : 0.0$
(%i5) for i : 0 thru 9 do (data[i,0] : x, data[i,1] : f(x), x : x + 0.1)$
(%i6) write_data(data, "c:/my_data.txt");
(%o6) done
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>I have a very complicated expression and want to obtain the data at given
>points then export to a file.
>
>Assume the function is
>exp:f(x)
>how can I compute f(x) from x=0 to x=10 with step
>0.01?