On Mon, 4 Apr 2011, Daniel Dalton wrote:
>
< <snip>
<
< Thanks very much, when I get home I'll play with this...:)
<
< I suppose your defining the function here? Is there any way to put this
< into a file or something so it doesn't need to be done each time?
< Anyway, I'll have a go at it when I get home this afternoon.
Yes, just copy the input lines without the input labels into a
file (it is usual to end the file name with a .mac ending).
In Maxima:
batch("file.mac");
load("file.mac");
will execute the code in the file.
Ted Woollett's Maxima by Example is a good introduction.
http://www.csulb.edu/~woollett/
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.